/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsICmdLineService.idl
 */

#ifndef __gen_nsICmdLineService_h__
#define __gen_nsICmdLineService_h__

#include "nsISupports.h"
#include "nsIFactory.h"

// e34783f5-ac08-11d2-8d19-00805fc2500c
#define NS_COMMANDLINE_SERVICE_CID \
{  0xe34783f5, 0xac08, 0x11d2, \
  {0x8d, 0x19, 0x00, 0x80, 0x5f, 0xc2, 0x50,0xc} }

/* starting interface:    nsICmdLineService */
#define NS_ICMDLINESERVICE_IID_STR "e34783f4-ac08-11d2-8d19-00805fc2500c"

#define NS_ICMDLINESERVICE_IID \
  {0xe34783f4, 0xac08, 0x11d2, \
    { 0x8d, 0x19, 0x00, 0x80, 0x5f, 0xc2, 0x50, 0x0c }}

class NS_NO_VTABLE nsICmdLineService : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ICMDLINESERVICE_IID)

  /* string Initialize (in long argc); */
  NS_IMETHOD Initialize(PRInt32 argc, char **_retval) = 0;

  /* string getCmdLineValue (in string argc); */
  NS_IMETHOD GetCmdLineValue(const char *argc, char **_retval) = 0;

  /* readonly attribute string URLToLoad; */
  NS_IMETHOD GetURLToLoad(char * *aURLToLoad) = 0;

  /* readonly attribute string programName; */
  NS_IMETHOD GetProgramName(char * *aProgramName) = 0;

  /* readonly attribute long argc; */
  NS_IMETHOD GetArgc(PRInt32 *aArgc) = 0;

  /* [noscript] readonly attribute charArray argv; */
  NS_IMETHOD GetArgv(char* * *aArgv) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICMDLINESERVICE \
  NS_IMETHOD Initialize(PRInt32 argc, char **_retval); \
  NS_IMETHOD GetCmdLineValue(const char *argc, char **_retval); \
  NS_IMETHOD GetURLToLoad(char * *aURLToLoad); \
  NS_IMETHOD GetProgramName(char * *aProgramName); \
  NS_IMETHOD GetArgc(PRInt32 *aArgc); \
  NS_IMETHOD GetArgv(char* * *aArgv); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICMDLINESERVICE(_to) \
  NS_IMETHOD Initialize(PRInt32 argc, char **_retval) { return _to ## Initialize(argc, _retval); } \
  NS_IMETHOD GetCmdLineValue(const char *argc, char **_retval) { return _to ## GetCmdLineValue(argc, _retval); } \
  NS_IMETHOD GetURLToLoad(char * *aURLToLoad) { return _to ## GetURLToLoad(aURLToLoad); } \
  NS_IMETHOD GetProgramName(char * *aProgramName) { return _to ## GetProgramName(aProgramName); } \
  NS_IMETHOD GetArgc(PRInt32 *aArgc) { return _to ## GetArgc(aArgc); } \
  NS_IMETHOD GetArgv(char* * *aArgv) { return _to ## GetArgv(aArgv); } 

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsCmdLineService : public nsICmdLineService
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICMDLINESERVICE

  nsCmdLineService();
  virtual ~nsCmdLineService();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsCmdLineService, nsICmdLineService)

nsCmdLineService::nsCmdLineService()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

nsCmdLineService::~nsCmdLineService()
{
  /* destructor code */
}

/* string Initialize (in long argc); */
NS_IMETHODIMP nsCmdLineService::Initialize(PRInt32 argc, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* string getCmdLineValue (in string argc); */
NS_IMETHODIMP nsCmdLineService::GetCmdLineValue(const char *argc, char **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string URLToLoad; */
NS_IMETHODIMP nsCmdLineService::GetURLToLoad(char * *aURLToLoad)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute string programName; */
NS_IMETHODIMP nsCmdLineService::GetProgramName(char * *aProgramName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute long argc; */
NS_IMETHODIMP nsCmdLineService::GetArgc(PRInt32 *aArgc)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] readonly attribute charArray argv; */
NS_IMETHODIMP nsCmdLineService::GetArgv(char* * *aArgv)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* End of implementation class template. */
#endif

extern "C" NS_APPSHELL nsresult
NS_NewCmdLineServiceFactory(nsIFactory** aFactory);

#endif /* __gen_nsICmdLineService_h__ */
