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

LCOV - code coverage report
| Current view: | directory - objdir/dist/include - nsIWifiAccessPoint.h (source / functions) |  | Found | Hit | Coverage |
| Test: | app.info | Lines: | 1 | 0 | 0.0 %
| Date: | 2012-07-07 | Functions: | 1 | 0 | 0.0 %

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-rel-lnx-codecoverage/build/netwerk/wifi/nsIWifiAccessPoint.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIWifiAccessPoint_h__
           6                 : #define __gen_nsIWifiAccessPoint_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                 :
          18                 : /* starting interface:    nsIWifiAccessPoint */
          19                 : #define NS_IWIFIACCESSPOINT_IID_STR "e28e614f-8f86-44ff-bcf5-5f18225834a0"
          20                 :
          21                 : #define NS_IWIFIACCESSPOINT_IID \
          22                 :   {0xe28e614f, 0x8f86, 0x44ff, \
          23                 :     { 0xbc, 0xf5, 0x5f, 0x18, 0x22, 0x58, 0x34, 0xa0 }}
          24                 :
          25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIWifiAccessPoint : public nsISupports {
          26                 :  public:
          27                 :
          28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWIFIACCESSPOINT_IID)
          29                 :
          30                 :   /* readonly attribute ACString mac; */
          31                 :   NS_SCRIPTABLE NS_IMETHOD GetMac(nsACString & aMac) = 0;
          32                 :
          33                 :   /* readonly attribute AString ssid; */
          34                 :   NS_SCRIPTABLE NS_IMETHOD GetSsid(nsAString & aSsid) = 0;
          35                 :
          36                 :   /* readonly attribute ACString rawSSID; */
          37                 :   NS_SCRIPTABLE NS_IMETHOD GetRawSSID(nsACString & aRawSSID) = 0;
          38                 :
          39                 :   /* readonly attribute long signal; */
          40                 :   NS_SCRIPTABLE NS_IMETHOD GetSignal(PRInt32 *aSignal) = 0;
          41                 :
          42                 : };
          43                 :
          44                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIWifiAccessPoint, NS_IWIFIACCESSPOINT_IID)
          45                 :
          46                 : /* Use this macro when declaring classes that implement this interface. */
          47                 : #define NS_DECL_NSIWIFIACCESSPOINT \
          48                 :   NS_SCRIPTABLE NS_IMETHOD GetMac(nsACString & aMac); \
          49                 :   NS_SCRIPTABLE NS_IMETHOD GetSsid(nsAString & aSsid); \
          50                 :   NS_SCRIPTABLE NS_IMETHOD GetRawSSID(nsACString & aRawSSID); \
          51                 :   NS_SCRIPTABLE NS_IMETHOD GetSignal(PRInt32 *aSignal);
          52                 :
          53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          54                 : #define NS_FORWARD_NSIWIFIACCESSPOINT(_to) \
          55                 :   NS_SCRIPTABLE NS_IMETHOD GetMac(nsACString & aMac) { return _to GetMac(aMac); } \
          56                 :   NS_SCRIPTABLE NS_IMETHOD GetSsid(nsAString & aSsid) { return _to GetSsid(aSsid); } \
          57                 :   NS_SCRIPTABLE NS_IMETHOD GetRawSSID(nsACString & aRawSSID) { return _to GetRawSSID(aRawSSID); } \
          58                 :   NS_SCRIPTABLE NS_IMETHOD GetSignal(PRInt32 *aSignal) { return _to GetSignal(aSignal); }
          59                 :
          60                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          61                 : #define NS_FORWARD_SAFE_NSIWIFIACCESSPOINT(_to) \
          62                 :   NS_SCRIPTABLE NS_IMETHOD GetMac(nsACString & aMac) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMac(aMac); } \
          63                 :   NS_SCRIPTABLE NS_IMETHOD GetSsid(nsAString & aSsid) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSsid(aSsid); } \
          64                 :   NS_SCRIPTABLE NS_IMETHOD GetRawSSID(nsACString & aRawSSID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRawSSID(aRawSSID); } \
          65                 :   NS_SCRIPTABLE NS_IMETHOD GetSignal(PRInt32 *aSignal) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignal(aSignal); }
          66                 :
          67                 : #if 0
          68                 : /* Use the code below as a template for the implementation class for this interface. */
          69                 :
          70                 : /* Header file */
          71                 : class nsWifiAccessPoint : public nsIWifiAccessPoint
          72                 : {
          73                 : public:
          74                 :   NS_DECL_ISUPPORTS
          75                 :   NS_DECL_NSIWIFIACCESSPOINT
          76                 :
          77                 :   nsWifiAccessPoint();
          78                 :
          79                 : private:
          80                 :   ~nsWifiAccessPoint();
          81                 :
          82                 : protected:
          83                 :   /* additional members */
          84                 : };
          85                 :
          86                 : /* Implementation file */
          87                 : NS_IMPL_ISUPPORTS1(nsWifiAccessPoint, nsIWifiAccessPoint)
          88                 :
          89                 : nsWifiAccessPoint::nsWifiAccessPoint()
          90                 : {
          91                 :   /* member initializers and constructor code */
          92                 : }
          93                 :
          94                 : nsWifiAccessPoint::~nsWifiAccessPoint()
          95                 : {
          96                 :   /* destructor code */
          97                 : }
          98                 :
          99                 : /* readonly attribute ACString mac; */
         100                 : NS_IMETHODIMP nsWifiAccessPoint::GetMac(nsACString & aMac)
         101                 : {
         102                 :     return NS_ERROR_NOT_IMPLEMENTED;
         103                 : }
         104                 :
         105                 : /* readonly attribute AString ssid; */
         106                 : NS_IMETHODIMP nsWifiAccessPoint::GetSsid(nsAString & aSsid)
         107                 : {
         108                 :     return NS_ERROR_NOT_IMPLEMENTED;
         109                 : }
         110                 :
         111                 : /* readonly attribute ACString rawSSID; */
         112                 : NS_IMETHODIMP nsWifiAccessPoint::GetRawSSID(nsACString & aRawSSID)
         113                 : {
         114                 :     return NS_ERROR_NOT_IMPLEMENTED;
         115                 : }
         116                 :
         117                 : /* readonly attribute long signal; */
         118                 : NS_IMETHODIMP nsWifiAccessPoint::GetSignal(PRInt32 *aSignal)
         119                 : {
         120                 :     return NS_ERROR_NOT_IMPLEMENTED;
         121                 : }
         122                 :
         123                 : /* End of implementation class template. */
         124                 : #endif
         125                 :
         126                 :
         127                 : #endif /* __gen_nsIWifiAccessPoint_h__ */

Generated by: LCOV version 1.7