LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsICommandLineRunner.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/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 "c9f2996c-b25a-4d3d-821f-4cd0c4bc8afb"
      24             : 
      25             : #define NS_ICOMMANDLINERUNNER_IID \
      26             :   {0xc9f2996c, 0xb25a, 0x4d3d, \
      27             :     { 0x82, 0x1f, 0x4c, 0xd0, 0xc4, 0xbc, 0x8a, 0xfb }}
      28             : 
      29           1 : 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 nsArgvArray argv, in nsIFile workingDir, in unsigned long state); */
      35             :   NS_IMETHOD Init(int32_t argc, const char* const *argv, nsIFile *workingDir, uint32_t 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(int32_t argc, const char* const *argv, nsIFile *workingDir, uint32_t state) override; \
      53             :   NS_IMETHOD SetWindowContext(nsIDOMWindow *aWindow) override; \
      54             :   NS_IMETHOD Run(void) override; \
      55             :   NS_IMETHOD GetHelpText(nsACString & aHelpText) override; 
      56             : 
      57             : /* Use this macro when declaring the members of this interface when the
      58             :    class doesn't implement the interface. This is useful for forwarding. */
      59             : #define NS_DECL_NON_VIRTUAL_NSICOMMANDLINERUNNER \
      60             :   nsresult Init(int32_t argc, const char* const *argv, nsIFile *workingDir, uint32_t state); \
      61             :   nsresult SetWindowContext(nsIDOMWindow *aWindow); \
      62             :   nsresult Run(void); \
      63             :   nsresult GetHelpText(nsACString & aHelpText); 
      64             : 
      65             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      66             : #define NS_FORWARD_NSICOMMANDLINERUNNER(_to) \
      67             :   NS_IMETHOD Init(int32_t argc, const char* const *argv, nsIFile *workingDir, uint32_t state) override { return _to Init(argc, argv, workingDir, state); } \
      68             :   NS_IMETHOD SetWindowContext(nsIDOMWindow *aWindow) override { return _to SetWindowContext(aWindow); } \
      69             :   NS_IMETHOD Run(void) override { return _to Run(); } \
      70             :   NS_IMETHOD GetHelpText(nsACString & aHelpText) override { return _to GetHelpText(aHelpText); } 
      71             : 
      72             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      73             : #define NS_FORWARD_SAFE_NSICOMMANDLINERUNNER(_to) \
      74             :   NS_IMETHOD Init(int32_t argc, const char* const *argv, nsIFile *workingDir, uint32_t state) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(argc, argv, workingDir, state); } \
      75             :   NS_IMETHOD SetWindowContext(nsIDOMWindow *aWindow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindowContext(aWindow); } \
      76             :   NS_IMETHOD Run(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Run(); } \
      77             :   NS_IMETHOD GetHelpText(nsACString & aHelpText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHelpText(aHelpText); } 
      78             : 
      79             : #if 0
      80             : /* Use the code below as a template for the implementation class for this interface. */
      81             : 
      82             : /* Header file */
      83             : class nsCommandLineRunner : public nsICommandLineRunner
      84             : {
      85             : public:
      86             :   NS_DECL_ISUPPORTS
      87             :   NS_DECL_NSICOMMANDLINERUNNER
      88             : 
      89             :   nsCommandLineRunner();
      90             : 
      91             : private:
      92             :   ~nsCommandLineRunner();
      93             : 
      94             : protected:
      95             :   /* additional members */
      96             : };
      97             : 
      98             : /* Implementation file */
      99             : NS_IMPL_ISUPPORTS(nsCommandLineRunner, nsICommandLineRunner)
     100             : 
     101             : nsCommandLineRunner::nsCommandLineRunner()
     102             : {
     103             :   /* member initializers and constructor code */
     104             : }
     105             : 
     106             : nsCommandLineRunner::~nsCommandLineRunner()
     107             : {
     108             :   /* destructor code */
     109             : }
     110             : 
     111             : /* void init (in long argc, in nsArgvArray argv, in nsIFile workingDir, in unsigned long state); */
     112             : NS_IMETHODIMP nsCommandLineRunner::Init(int32_t argc, const char* const *argv, nsIFile *workingDir, uint32_t state)
     113             : {
     114             :     return NS_ERROR_NOT_IMPLEMENTED;
     115             : }
     116             : 
     117             : /* void setWindowContext (in nsIDOMWindow aWindow); */
     118             : NS_IMETHODIMP nsCommandLineRunner::SetWindowContext(nsIDOMWindow *aWindow)
     119             : {
     120             :     return NS_ERROR_NOT_IMPLEMENTED;
     121             : }
     122             : 
     123             : /* void run (); */
     124             : NS_IMETHODIMP nsCommandLineRunner::Run()
     125             : {
     126             :     return NS_ERROR_NOT_IMPLEMENTED;
     127             : }
     128             : 
     129             : /* readonly attribute AUTF8String helpText; */
     130             : NS_IMETHODIMP nsCommandLineRunner::GetHelpText(nsACString & aHelpText)
     131             : {
     132             :     return NS_ERROR_NOT_IMPLEMENTED;
     133             : }
     134             : 
     135             : /* End of implementation class template. */
     136             : #endif
     137             : 
     138             : 
     139             : #endif /* __gen_nsICommandLineRunner_h__ */

Generated by: LCOV version 1.13