2004-10-29 19:28:38 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2012-05-21 11:12:37 +00:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2004-10-29 19:28:38 +00:00
|
|
|
|
|
|
|
#ifndef nsCommandLineServiceMac_h_
|
|
|
|
#define nsCommandLineServiceMac_h_
|
|
|
|
|
|
|
|
#include "nscore.h"
|
|
|
|
|
2010-06-08 22:26:12 +00:00
|
|
|
namespace CommandLineServiceMac {
|
2011-09-29 06:19:26 +00:00
|
|
|
void SetupMacCommandLine(int& argc, char**& argv, bool forRestart);
|
2011-01-03 16:08:36 +00:00
|
|
|
|
|
|
|
// Add a URL to the command line currently being set up via
|
|
|
|
// SetupMacCommandLine. Returns false if no command line is
|
|
|
|
// being set up or the addition fails for any other reason.
|
2011-09-29 06:19:26 +00:00
|
|
|
bool AddURLToCurrentCommandLine(const char* aURL);
|
2010-06-08 22:26:12 +00:00
|
|
|
}
|
2004-10-29 19:28:38 +00:00
|
|
|
|
|
|
|
#endif // nsCommandLineServiceMac_h_
|