LCOV - code coverage report
Current view: directory - objdir/dist/include - nsICommandLineRunner.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 1 100.0 %
Date: 2012-06-02 Functions: 1 1 100.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/toolkit/components/commandlines/nsICommandLineRunner.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsICommandLineRunner_h__
       6                 : #define __gen_nsICommandLineRunner_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : #ifndef __gen_nsICommandLine_h__
      14                 : #include "nsICommandLine.h"
      15                 : #endif
      16                 : 
      17                 : /* For IDL files that don't want to include root IDL files. */
      18                 : #ifndef NS_NO_VTABLE
      19                 : #define NS_NO_VTABLE
      20                 : #endif
      21                 : 
      22                 : /* starting interface:    nsICommandLineRunner */
      23                 : #define NS_ICOMMANDLINERUNNER_IID_STR "c1f4cfbf-a41f-4628-aa6c-9fb914478af8"
      24                 : 
      25                 : #define NS_ICOMMANDLINERUNNER_IID \
      26                 :   {0xc1f4cfbf, 0xa41f, 0x4628, \
      27                 :     { 0xaa, 0x6c, 0x9f, 0xb9, 0x14, 0x47, 0x8a, 0xf8 }}
      28                 : 
      29               3 : class NS_NO_VTABLE nsICommandLineRunner : public nsICommandLine {
      30                 :  public: 
      31                 : 
      32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICOMMANDLINERUNNER_IID)
      33                 : 
      34                 :   /* void init (in long argc, in nsCharPtrArray argv, in nsIFile workingDir, in unsigned long state); */
      35                 :   NS_IMETHOD Init(PRInt32 argc, char* *argv, nsIFile *workingDir, PRUint32 state) = 0;
      36                 : 
      37                 :   /* void setWindowContext (in nsIDOMWindow aWindow); */
      38                 :   NS_IMETHOD SetWindowContext(nsIDOMWindow *aWindow) = 0;
      39                 : 
      40                 :   /* void run (); */
      41                 :   NS_IMETHOD Run(void) = 0;
      42                 : 
      43                 :   /* readonly attribute AUTF8String helpText; */
      44                 :   NS_IMETHOD GetHelpText(nsACString & aHelpText) = 0;
      45                 : 
      46                 : };
      47                 : 
      48                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsICommandLineRunner, NS_ICOMMANDLINERUNNER_IID)
      49                 : 
      50                 : /* Use this macro when declaring classes that implement this interface. */
      51                 : #define NS_DECL_NSICOMMANDLINERUNNER \
      52                 :   NS_IMETHOD Init(PRInt32 argc, char* *argv, nsIFile *workingDir, PRUint32 state); \
      53                 :   NS_IMETHOD SetWindowContext(nsIDOMWindow *aWindow); \
      54                 :   NS_IMETHOD Run(void); \
      55                 :   NS_IMETHOD GetHelpText(nsACString & aHelpText); 
      56                 : 
      57                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      58                 : #define NS_FORWARD_NSICOMMANDLINERUNNER(_to) \
      59                 :   NS_IMETHOD Init(PRInt32 argc, char* *argv, nsIFile *workingDir, PRUint32 state) { return _to Init(argc, argv, workingDir, state); } \
      60                 :   NS_IMETHOD SetWindowContext(nsIDOMWindow *aWindow) { return _to SetWindowContext(aWindow); } \
      61                 :   NS_IMETHOD Run(void) { return _to Run(); } \
      62                 :   NS_IMETHOD GetHelpText(nsACString & aHelpText) { return _to GetHelpText(aHelpText); } 
      63                 : 
      64                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      65                 : #define NS_FORWARD_SAFE_NSICOMMANDLINERUNNER(_to) \
      66                 :   NS_IMETHOD Init(PRInt32 argc, char* *argv, nsIFile *workingDir, PRUint32 state) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(argc, argv, workingDir, state); } \
      67                 :   NS_IMETHOD SetWindowContext(nsIDOMWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindowContext(aWindow); } \
      68                 :   NS_IMETHOD Run(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Run(); } \
      69                 :   NS_IMETHOD GetHelpText(nsACString & aHelpText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHelpText(aHelpText); } 
      70                 : 
      71                 : #if 0
      72                 : /* Use the code below as a template for the implementation class for this interface. */
      73                 : 
      74                 : /* Header file */
      75                 : class nsCommandLineRunner : public nsICommandLineRunner
      76                 : {
      77                 : public:
      78                 :   NS_DECL_ISUPPORTS
      79                 :   NS_DECL_NSICOMMANDLINERUNNER
      80                 : 
      81                 :   nsCommandLineRunner();
      82                 : 
      83                 : private:
      84                 :   ~nsCommandLineRunner();
      85                 : 
      86                 : protected:
      87                 :   /* additional members */
      88                 : };
      89                 : 
      90                 : /* Implementation file */
      91                 : NS_IMPL_ISUPPORTS1(nsCommandLineRunner, nsICommandLineRunner)
      92                 : 
      93                 : nsCommandLineRunner::nsCommandLineRunner()
      94                 : {
      95                 :   /* member initializers and constructor code */
      96                 : }
      97                 : 
      98                 : nsCommandLineRunner::~nsCommandLineRunner()
      99                 : {
     100                 :   /* destructor code */
     101                 : }
     102                 : 
     103                 : /* void init (in long argc, in nsCharPtrArray argv, in nsIFile workingDir, in unsigned long state); */
     104                 : NS_IMETHODIMP nsCommandLineRunner::Init(PRInt32 argc, char* *argv, nsIFile *workingDir, PRUint32 state)
     105                 : {
     106                 :     return NS_ERROR_NOT_IMPLEMENTED;
     107                 : }
     108                 : 
     109                 : /* void setWindowContext (in nsIDOMWindow aWindow); */
     110                 : NS_IMETHODIMP nsCommandLineRunner::SetWindowContext(nsIDOMWindow *aWindow)
     111                 : {
     112                 :     return NS_ERROR_NOT_IMPLEMENTED;
     113                 : }
     114                 : 
     115                 : /* void run (); */
     116                 : NS_IMETHODIMP nsCommandLineRunner::Run()
     117                 : {
     118                 :     return NS_ERROR_NOT_IMPLEMENTED;
     119                 : }
     120                 : 
     121                 : /* readonly attribute AUTF8String helpText; */
     122                 : NS_IMETHODIMP nsCommandLineRunner::GetHelpText(nsACString & aHelpText)
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* End of implementation class template. */
     128                 : #endif
     129                 : 
     130                 : 
     131                 : #endif /* __gen_nsICommandLineRunner_h__ */

Generated by: LCOV version 1.7