Adding command-line support for Macintosh.

This commit is contained in:
mcmullen%netscape.com 1999-04-21 23:36:02 +00:00
Родитель 3df07c0126
Коммит f09e4132bc
2 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -24,6 +24,9 @@
#include "nsString.h"
#include "plstr.h"
#ifdef XP_MAC
#include "nsCommandLineServiceMac.h"
#endif
/* Define Class IDs */
static NS_DEFINE_IID(kCmdLineServiceCID, NS_COMMANDLINE_SERVICE_CID);
@ -76,6 +79,10 @@ NS_IMPL_ISUPPORTS(nsCmdLineService, kICommandLineServiceIID);
NS_IMETHODIMP
nsCmdLineService::Initialize(int aArgc, char ** aArgv)
{
#if defined(XP_MAC)
InitializeMacCommandLine(aArgc, aArgv);
#endif
PRInt32 i=0;
nsresult rv = nsnull;

Просмотреть файл

@ -24,6 +24,9 @@
#include "nsString.h"
#include "plstr.h"
#ifdef XP_MAC
#include "nsCommandLineServiceMac.h"
#endif
/* Define Class IDs */
static NS_DEFINE_IID(kCmdLineServiceCID, NS_COMMANDLINE_SERVICE_CID);
@ -76,6 +79,10 @@ NS_IMPL_ISUPPORTS(nsCmdLineService, kICommandLineServiceIID);
NS_IMETHODIMP
nsCmdLineService::Initialize(int aArgc, char ** aArgv)
{
#if defined(XP_MAC)
InitializeMacCommandLine(aArgc, aArgv);
#endif
PRInt32 i=0;
nsresult rv = nsnull;