LCOV - app.info - objdir/dist/include/nsIWifiMonitor.h

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIWifiMonitor.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/netwerk/wifi/nsIWifiMonitor.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIWifiMonitor_h__
           6                 : #define __gen_nsIWifiMonitor_h__
           7                 :
           8                 :
           9                 : #ifndef __gen_nsISupports_h__
          10                 : #include "nsISupports.h"
          11                 : #endif
          12                 :
          13                 : #ifndef __gen_nsIWifiListener_h__
          14                 : #include "nsIWifiListener.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:    nsIWifiMonitor */
          23                 : #define NS_IWIFIMONITOR_IID_STR "f289701e-d9af-4685-bc2f-e4226ff7c018"
          24                 :
          25                 : #define NS_IWIFIMONITOR_IID \
          26                 :   {0xf289701e, 0xd9af, 0x4685, \
          27                 :     { 0xbc, 0x2f, 0xe4, 0x22, 0x6f, 0xf7, 0xc0, 0x18 }}
          28                 :
          29               1 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWifiMonitor : public nsISupports {
          30                 :  public:
          31                 :
          32                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWIFIMONITOR_IID)
          33                 :
          34                 :   /* void startWatching (in nsIWifiListener aListener); */
          35                 :   NS_SCRIPTABLE NS_IMETHOD StartWatching(nsIWifiListener *aListener) = 0;
          36                 :
          37                 :   /* void stopWatching (in nsIWifiListener aListener); */
          38                 :   NS_SCRIPTABLE NS_IMETHOD StopWatching(nsIWifiListener *aListener) = 0;
          39                 :
          40                 : };
          41                 :
          42                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWifiMonitor, NS_IWIFIMONITOR_IID)
          43                 :
          44                 : /* Use this macro when declaring classes that implement this interface. */
          45                 : #define NS_DECL_NSIWIFIMONITOR \
          46                 :   NS_SCRIPTABLE NS_IMETHOD StartWatching(nsIWifiListener *aListener); \
          47                 :   NS_SCRIPTABLE NS_IMETHOD StopWatching(nsIWifiListener *aListener);
          48                 :
          49                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          50                 : #define NS_FORWARD_NSIWIFIMONITOR(_to) \
          51                 :   NS_SCRIPTABLE NS_IMETHOD StartWatching(nsIWifiListener *aListener) { return _to StartWatching(aListener); } \
          52                 :   NS_SCRIPTABLE NS_IMETHOD StopWatching(nsIWifiListener *aListener) { return _to StopWatching(aListener); }
          53                 :
          54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          55                 : #define NS_FORWARD_SAFE_NSIWIFIMONITOR(_to) \
          56                 :   NS_SCRIPTABLE NS_IMETHOD StartWatching(nsIWifiListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->StartWatching(aListener); } \
          57                 :   NS_SCRIPTABLE NS_IMETHOD StopWatching(nsIWifiListener *aListener) { return !_to ? NS_ERROR_NULL_POINTER : _to->StopWatching(aListener); }
          58                 :
          59                 : #if 0
          60                 : /* Use the code below as a template for the implementation class for this interface. */
          61                 :
          62                 : /* Header file */
          63                 : class nsWifiMonitor : public nsIWifiMonitor
          64                 : {
          65                 : public:
          66                 :   NS_DECL_ISUPPORTS
          67                 :   NS_DECL_NSIWIFIMONITOR
          68                 :
          69                 :   nsWifiMonitor();
          70                 :
          71                 : private:
          72                 :   ~nsWifiMonitor();
          73                 :
          74                 : protected:
          75                 :   /* additional members */
          76                 : };
          77                 :
          78                 : /* Implementation file */
          79                 : NS_IMPL_ISUPPORTS1(nsWifiMonitor, nsIWifiMonitor)
          80                 :
          81                 : nsWifiMonitor::nsWifiMonitor()
          82                 : {
          83                 :   /* member initializers and constructor code */
          84                 : }
          85                 :
          86                 : nsWifiMonitor::~nsWifiMonitor()
          87                 : {
          88                 :   /* destructor code */
          89                 : }
          90                 :
          91                 : /* void startWatching (in nsIWifiListener aListener); */
          92                 : NS_IMETHODIMP nsWifiMonitor::StartWatching(nsIWifiListener *aListener)
          93                 : {
          94                 :     return NS_ERROR_NOT_IMPLEMENTED;
          95                 : }
          96                 :
          97                 : /* void stopWatching (in nsIWifiListener aListener); */
          98                 : NS_IMETHODIMP nsWifiMonitor::StopWatching(nsIWifiListener *aListener)
          99                 : {
         100                 :     return NS_ERROR_NOT_IMPLEMENTED;
         101                 : }
         102                 :
         103                 : /* End of implementation class template. */
         104                 : #endif
         105                 :
         106                 :
         107                 : #endif /* __gen_nsIWifiMonitor_h__ */

Generated by: LCOV version 1.7