LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsINativeAppSupport.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/nsINativeAppSupport.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsINativeAppSupport_h__
       6             : #define __gen_nsINativeAppSupport_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.h"
      11             : #endif
      12             : 
      13             : /* For IDL files that don't want to include root IDL files. */
      14             : #ifndef NS_NO_VTABLE
      15             : #define NS_NO_VTABLE
      16             : #endif
      17             : class nsIXULWindow; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsINativeAppSupport */
      21             : #define NS_INATIVEAPPSUPPORT_IID_STR "5fdf8480-1f98-11d4-8077-00600811a9c3"
      22             : 
      23             : #define NS_INATIVEAPPSUPPORT_IID \
      24             :   {0x5fdf8480, 0x1f98, 0x11d4, \
      25             :     { 0x80, 0x77, 0x00, 0x60, 0x08, 0x11, 0xa9, 0xc3 }}
      26             : 
      27           1 : class NS_NO_VTABLE nsINativeAppSupport : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_INATIVEAPPSUPPORT_IID)
      31             : 
      32             :   /* boolean start (); */
      33             :   NS_IMETHOD Start(bool *_retval) = 0;
      34             : 
      35             :   /* void enable (); */
      36             :   NS_IMETHOD Enable(void) = 0;
      37             : 
      38             :   /* boolean stop (); */
      39             :   NS_IMETHOD Stop(bool *_retval) = 0;
      40             : 
      41             :   /* void quit (); */
      42             :   NS_IMETHOD Quit(void) = 0;
      43             : 
      44             :   /* void onLastWindowClosing (); */
      45             :   NS_IMETHOD OnLastWindowClosing(void) = 0;
      46             : 
      47             :   /* void ReOpen (); */
      48             :   NS_IMETHOD ReOpen(void) = 0;
      49             : 
      50             : };
      51             : 
      52             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsINativeAppSupport, NS_INATIVEAPPSUPPORT_IID)
      53             : 
      54             : /* Use this macro when declaring classes that implement this interface. */
      55             : #define NS_DECL_NSINATIVEAPPSUPPORT \
      56             :   NS_IMETHOD Start(bool *_retval) override; \
      57             :   NS_IMETHOD Enable(void) override; \
      58             :   NS_IMETHOD Stop(bool *_retval) override; \
      59             :   NS_IMETHOD Quit(void) override; \
      60             :   NS_IMETHOD OnLastWindowClosing(void) override; \
      61             :   NS_IMETHOD ReOpen(void) override; 
      62             : 
      63             : /* Use this macro when declaring the members of this interface when the
      64             :    class doesn't implement the interface. This is useful for forwarding. */
      65             : #define NS_DECL_NON_VIRTUAL_NSINATIVEAPPSUPPORT \
      66             :   nsresult Start(bool *_retval); \
      67             :   nsresult Enable(void); \
      68             :   nsresult Stop(bool *_retval); \
      69             :   nsresult Quit(void); \
      70             :   nsresult OnLastWindowClosing(void); \
      71             :   nsresult ReOpen(void); 
      72             : 
      73             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      74             : #define NS_FORWARD_NSINATIVEAPPSUPPORT(_to) \
      75             :   NS_IMETHOD Start(bool *_retval) override { return _to Start(_retval); } \
      76             :   NS_IMETHOD Enable(void) override { return _to Enable(); } \
      77             :   NS_IMETHOD Stop(bool *_retval) override { return _to Stop(_retval); } \
      78             :   NS_IMETHOD Quit(void) override { return _to Quit(); } \
      79             :   NS_IMETHOD OnLastWindowClosing(void) override { return _to OnLastWindowClosing(); } \
      80             :   NS_IMETHOD ReOpen(void) override { return _to ReOpen(); } 
      81             : 
      82             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      83             : #define NS_FORWARD_SAFE_NSINATIVEAPPSUPPORT(_to) \
      84             :   NS_IMETHOD Start(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Start(_retval); } \
      85             :   NS_IMETHOD Enable(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Enable(); } \
      86             :   NS_IMETHOD Stop(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(_retval); } \
      87             :   NS_IMETHOD Quit(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Quit(); } \
      88             :   NS_IMETHOD OnLastWindowClosing(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnLastWindowClosing(); } \
      89             :   NS_IMETHOD ReOpen(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ReOpen(); } 
      90             : 
      91             : #if 0
      92             : /* Use the code below as a template for the implementation class for this interface. */
      93             : 
      94             : /* Header file */
      95             : class nsNativeAppSupport : public nsINativeAppSupport
      96             : {
      97             : public:
      98             :   NS_DECL_ISUPPORTS
      99             :   NS_DECL_NSINATIVEAPPSUPPORT
     100             : 
     101             :   nsNativeAppSupport();
     102             : 
     103             : private:
     104             :   ~nsNativeAppSupport();
     105             : 
     106             : protected:
     107             :   /* additional members */
     108             : };
     109             : 
     110             : /* Implementation file */
     111             : NS_IMPL_ISUPPORTS(nsNativeAppSupport, nsINativeAppSupport)
     112             : 
     113             : nsNativeAppSupport::nsNativeAppSupport()
     114             : {
     115             :   /* member initializers and constructor code */
     116             : }
     117             : 
     118             : nsNativeAppSupport::~nsNativeAppSupport()
     119             : {
     120             :   /* destructor code */
     121             : }
     122             : 
     123             : /* boolean start (); */
     124             : NS_IMETHODIMP nsNativeAppSupport::Start(bool *_retval)
     125             : {
     126             :     return NS_ERROR_NOT_IMPLEMENTED;
     127             : }
     128             : 
     129             : /* void enable (); */
     130             : NS_IMETHODIMP nsNativeAppSupport::Enable()
     131             : {
     132             :     return NS_ERROR_NOT_IMPLEMENTED;
     133             : }
     134             : 
     135             : /* boolean stop (); */
     136             : NS_IMETHODIMP nsNativeAppSupport::Stop(bool *_retval)
     137             : {
     138             :     return NS_ERROR_NOT_IMPLEMENTED;
     139             : }
     140             : 
     141             : /* void quit (); */
     142             : NS_IMETHODIMP nsNativeAppSupport::Quit()
     143             : {
     144             :     return NS_ERROR_NOT_IMPLEMENTED;
     145             : }
     146             : 
     147             : /* void onLastWindowClosing (); */
     148             : NS_IMETHODIMP nsNativeAppSupport::OnLastWindowClosing()
     149             : {
     150             :     return NS_ERROR_NOT_IMPLEMENTED;
     151             : }
     152             : 
     153             : /* void ReOpen (); */
     154             : NS_IMETHODIMP nsNativeAppSupport::ReOpen()
     155             : {
     156             :     return NS_ERROR_NOT_IMPLEMENTED;
     157             : }
     158             : 
     159             : /* End of implementation class template. */
     160             : #endif
     161             : 
     162             : 
     163             : #endif /* __gen_nsINativeAppSupport_h__ */

Generated by: LCOV version 1.13