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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/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 nsIWifiAccessPoint : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IWIFIACCESSPOINT_IID)
      29             : 
      30             :   /* readonly attribute ACString mac; */
      31             :   NS_IMETHOD GetMac(nsACString & aMac) = 0;
      32             : 
      33             :   /* readonly attribute AString ssid; */
      34             :   NS_IMETHOD GetSsid(nsAString & aSsid) = 0;
      35             : 
      36             :   /* readonly attribute ACString rawSSID; */
      37             :   NS_IMETHOD GetRawSSID(nsACString & aRawSSID) = 0;
      38             : 
      39             :   /* readonly attribute long signal; */
      40             :   NS_IMETHOD GetSignal(int32_t *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_IMETHOD GetMac(nsACString & aMac) override; \
      49             :   NS_IMETHOD GetSsid(nsAString & aSsid) override; \
      50             :   NS_IMETHOD GetRawSSID(nsACString & aRawSSID) override; \
      51             :   NS_IMETHOD GetSignal(int32_t *aSignal) override; 
      52             : 
      53             : /* Use this macro when declaring the members of this interface when the
      54             :    class doesn't implement the interface. This is useful for forwarding. */
      55             : #define NS_DECL_NON_VIRTUAL_NSIWIFIACCESSPOINT \
      56             :   nsresult GetMac(nsACString & aMac); \
      57             :   nsresult GetSsid(nsAString & aSsid); \
      58             :   nsresult GetRawSSID(nsACString & aRawSSID); \
      59             :   nsresult GetSignal(int32_t *aSignal); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_NSIWIFIACCESSPOINT(_to) \
      63             :   NS_IMETHOD GetMac(nsACString & aMac) override { return _to GetMac(aMac); } \
      64             :   NS_IMETHOD GetSsid(nsAString & aSsid) override { return _to GetSsid(aSsid); } \
      65             :   NS_IMETHOD GetRawSSID(nsACString & aRawSSID) override { return _to GetRawSSID(aRawSSID); } \
      66             :   NS_IMETHOD GetSignal(int32_t *aSignal) override { return _to GetSignal(aSignal); } 
      67             : 
      68             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      69             : #define NS_FORWARD_SAFE_NSIWIFIACCESSPOINT(_to) \
      70             :   NS_IMETHOD GetMac(nsACString & aMac) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMac(aMac); } \
      71             :   NS_IMETHOD GetSsid(nsAString & aSsid) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSsid(aSsid); } \
      72             :   NS_IMETHOD GetRawSSID(nsACString & aRawSSID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRawSSID(aRawSSID); } \
      73             :   NS_IMETHOD GetSignal(int32_t *aSignal) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSignal(aSignal); } 
      74             : 
      75             : #if 0
      76             : /* Use the code below as a template for the implementation class for this interface. */
      77             : 
      78             : /* Header file */
      79             : class nsWifiAccessPoint : public nsIWifiAccessPoint
      80             : {
      81             : public:
      82             :   NS_DECL_ISUPPORTS
      83             :   NS_DECL_NSIWIFIACCESSPOINT
      84             : 
      85             :   nsWifiAccessPoint();
      86             : 
      87             : private:
      88             :   ~nsWifiAccessPoint();
      89             : 
      90             : protected:
      91             :   /* additional members */
      92             : };
      93             : 
      94             : /* Implementation file */
      95             : NS_IMPL_ISUPPORTS(nsWifiAccessPoint, nsIWifiAccessPoint)
      96             : 
      97             : nsWifiAccessPoint::nsWifiAccessPoint()
      98             : {
      99             :   /* member initializers and constructor code */
     100             : }
     101             : 
     102             : nsWifiAccessPoint::~nsWifiAccessPoint()
     103             : {
     104             :   /* destructor code */
     105             : }
     106             : 
     107             : /* readonly attribute ACString mac; */
     108             : NS_IMETHODIMP nsWifiAccessPoint::GetMac(nsACString & aMac)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* readonly attribute AString ssid; */
     114             : NS_IMETHODIMP nsWifiAccessPoint::GetSsid(nsAString & aSsid)
     115             : {
     116             :     return NS_ERROR_NOT_IMPLEMENTED;
     117             : }
     118             : 
     119             : /* readonly attribute ACString rawSSID; */
     120             : NS_IMETHODIMP nsWifiAccessPoint::GetRawSSID(nsACString & aRawSSID)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* readonly attribute long signal; */
     126             : NS_IMETHODIMP nsWifiAccessPoint::GetSignal(int32_t *aSignal)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* End of implementation class template. */
     132             : #endif
     133             : 
     134             : 
     135             : #endif /* __gen_nsIWifiAccessPoint_h__ */

Generated by: LCOV version 1.13