From ca0d4ed091914a33ec120b6b16a3d6f92fdfc771 Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Fri, 4 Feb 2000 23:07:27 +0000 Subject: [PATCH] building this on windows and linux, mac soon. adding a #define for which category nsICmdLineHanders are for. --- xpfe/appshell/public/Makefile.in | 1 + xpfe/appshell/public/makefile.win | 1 + xpfe/appshell/public/nsICmdLineHandler.idl | 6 +++++- xpfe/components/startup/public/nsICmdLineHandler.idl | 6 +++++- 4 files changed, 12 insertions(+), 2 deletions(-) diff --git a/xpfe/appshell/public/Makefile.in b/xpfe/appshell/public/Makefile.in index 79df0665d38..67c91648ce0 100644 --- a/xpfe/appshell/public/Makefile.in +++ b/xpfe/appshell/public/Makefile.in @@ -42,6 +42,7 @@ EXPORTS = \ XPIDLSRCS = \ nsIAppShellService.idl \ nsICmdLineService.idl \ + nsICmdLineHandler.idl \ nsICommonDialogs.idl \ nsIDialogParamBlock.idl \ nsIFileLocator.idl \ diff --git a/xpfe/appshell/public/makefile.win b/xpfe/appshell/public/makefile.win index 66da06edbb0..f57f8e89cf1 100644 --- a/xpfe/appshell/public/makefile.win +++ b/xpfe/appshell/public/makefile.win @@ -28,6 +28,7 @@ XPIDL_MODULE=appshell XPIDLSRCS = \ .\nsIAppShellService.idl \ .\nsICmdLineService.idl \ + .\nsICmdLineHandler.idl \ .\nsICommonDialogs.idl \ .\nsIDialogParamBlock.idl \ .\nsIFileLocator.idl \ diff --git a/xpfe/appshell/public/nsICmdLineHandler.idl b/xpfe/appshell/public/nsICmdLineHandler.idl index 1ac5165922b..f7b9d1af438 100644 --- a/xpfe/appshell/public/nsICmdLineHandler.idl +++ b/xpfe/appshell/public/nsICmdLineHandler.idl @@ -23,8 +23,12 @@ #include "nsISupports.idl" -[scriptable, uuid(ae12670a-1dd1-11b2-80cd-82ec93559deb)] +%{C++ +#define COMMAND_LINE_ARGUMENT_HANDLERS "command-line-argument-handlers" +%} + +[scriptable, uuid(ae12670a-1dd1-11b2-80cd-82ec93559deb)] interface nsICmdLineHandler : nsISupports { readonly attribute string commandLineArgument; diff --git a/xpfe/components/startup/public/nsICmdLineHandler.idl b/xpfe/components/startup/public/nsICmdLineHandler.idl index 1ac5165922b..f7b9d1af438 100644 --- a/xpfe/components/startup/public/nsICmdLineHandler.idl +++ b/xpfe/components/startup/public/nsICmdLineHandler.idl @@ -23,8 +23,12 @@ #include "nsISupports.idl" -[scriptable, uuid(ae12670a-1dd1-11b2-80cd-82ec93559deb)] +%{C++ +#define COMMAND_LINE_ARGUMENT_HANDLERS "command-line-argument-handlers" +%} + +[scriptable, uuid(ae12670a-1dd1-11b2-80cd-82ec93559deb)] interface nsICmdLineHandler : nsISupports { readonly attribute string commandLineArgument;