LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDashboardEventNotifier.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/nsIDashboardEventNotifier.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDashboardEventNotifier_h__
       6             : #define __gen_nsIDashboardEventNotifier_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:    nsIDashboardEventNotifier */
      19             : #define NS_IDASHBOARDEVENTNOTIFIER_IID_STR "24fdfcbe-54cb-4997-8392-3c476126ea3b"
      20             : 
      21             : #define NS_IDASHBOARDEVENTNOTIFIER_IID \
      22             :   {0x24fdfcbe, 0x54cb, 0x4997, \
      23             :     { 0x83, 0x92, 0x3c, 0x47, 0x61, 0x26, 0xea, 0x3b }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDashboardEventNotifier : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDASHBOARDEVENTNOTIFIER_IID)
      29             : 
      30             :   /* void addHost (in ACString aHost, in unsigned long aSerial, in boolean aEncrypted); */
      31             :   NS_IMETHOD AddHost(const nsACString & aHost, uint32_t aSerial, bool aEncrypted) = 0;
      32             : 
      33             :   /* void removeHost (in ACString aHost, in unsigned long aSerial); */
      34             :   NS_IMETHOD RemoveHost(const nsACString & aHost, uint32_t aSerial) = 0;
      35             : 
      36             :   /* void newMsgSent (in ACString aHost, in unsigned long aSerial, in unsigned long aLength); */
      37             :   NS_IMETHOD NewMsgSent(const nsACString & aHost, uint32_t aSerial, uint32_t aLength) = 0;
      38             : 
      39             :   /* void newMsgReceived (in ACString aHost, in unsigned long aSerial, in unsigned long aLength); */
      40             :   NS_IMETHOD NewMsgReceived(const nsACString & aHost, uint32_t aSerial, uint32_t aLength) = 0;
      41             : 
      42             : };
      43             : 
      44             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDashboardEventNotifier, NS_IDASHBOARDEVENTNOTIFIER_IID)
      45             : 
      46             : /* Use this macro when declaring classes that implement this interface. */
      47             : #define NS_DECL_NSIDASHBOARDEVENTNOTIFIER \
      48             :   NS_IMETHOD AddHost(const nsACString & aHost, uint32_t aSerial, bool aEncrypted) override; \
      49             :   NS_IMETHOD RemoveHost(const nsACString & aHost, uint32_t aSerial) override; \
      50             :   NS_IMETHOD NewMsgSent(const nsACString & aHost, uint32_t aSerial, uint32_t aLength) override; \
      51             :   NS_IMETHOD NewMsgReceived(const nsACString & aHost, uint32_t aSerial, uint32_t aLength) 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_NSIDASHBOARDEVENTNOTIFIER \
      56             :   nsresult AddHost(const nsACString & aHost, uint32_t aSerial, bool aEncrypted); \
      57             :   nsresult RemoveHost(const nsACString & aHost, uint32_t aSerial); \
      58             :   nsresult NewMsgSent(const nsACString & aHost, uint32_t aSerial, uint32_t aLength); \
      59             :   nsresult NewMsgReceived(const nsACString & aHost, uint32_t aSerial, uint32_t aLength); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_NSIDASHBOARDEVENTNOTIFIER(_to) \
      63             :   NS_IMETHOD AddHost(const nsACString & aHost, uint32_t aSerial, bool aEncrypted) override { return _to AddHost(aHost, aSerial, aEncrypted); } \
      64             :   NS_IMETHOD RemoveHost(const nsACString & aHost, uint32_t aSerial) override { return _to RemoveHost(aHost, aSerial); } \
      65             :   NS_IMETHOD NewMsgSent(const nsACString & aHost, uint32_t aSerial, uint32_t aLength) override { return _to NewMsgSent(aHost, aSerial, aLength); } \
      66             :   NS_IMETHOD NewMsgReceived(const nsACString & aHost, uint32_t aSerial, uint32_t aLength) override { return _to NewMsgReceived(aHost, aSerial, aLength); } 
      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_NSIDASHBOARDEVENTNOTIFIER(_to) \
      70             :   NS_IMETHOD AddHost(const nsACString & aHost, uint32_t aSerial, bool aEncrypted) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddHost(aHost, aSerial, aEncrypted); } \
      71             :   NS_IMETHOD RemoveHost(const nsACString & aHost, uint32_t aSerial) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveHost(aHost, aSerial); } \
      72             :   NS_IMETHOD NewMsgSent(const nsACString & aHost, uint32_t aSerial, uint32_t aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NewMsgSent(aHost, aSerial, aLength); } \
      73             :   NS_IMETHOD NewMsgReceived(const nsACString & aHost, uint32_t aSerial, uint32_t aLength) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NewMsgReceived(aHost, aSerial, aLength); } 
      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 nsDashboardEventNotifier : public nsIDashboardEventNotifier
      80             : {
      81             : public:
      82             :   NS_DECL_ISUPPORTS
      83             :   NS_DECL_NSIDASHBOARDEVENTNOTIFIER
      84             : 
      85             :   nsDashboardEventNotifier();
      86             : 
      87             : private:
      88             :   ~nsDashboardEventNotifier();
      89             : 
      90             : protected:
      91             :   /* additional members */
      92             : };
      93             : 
      94             : /* Implementation file */
      95             : NS_IMPL_ISUPPORTS(nsDashboardEventNotifier, nsIDashboardEventNotifier)
      96             : 
      97             : nsDashboardEventNotifier::nsDashboardEventNotifier()
      98             : {
      99             :   /* member initializers and constructor code */
     100             : }
     101             : 
     102             : nsDashboardEventNotifier::~nsDashboardEventNotifier()
     103             : {
     104             :   /* destructor code */
     105             : }
     106             : 
     107             : /* void addHost (in ACString aHost, in unsigned long aSerial, in boolean aEncrypted); */
     108             : NS_IMETHODIMP nsDashboardEventNotifier::AddHost(const nsACString & aHost, uint32_t aSerial, bool aEncrypted)
     109             : {
     110             :     return NS_ERROR_NOT_IMPLEMENTED;
     111             : }
     112             : 
     113             : /* void removeHost (in ACString aHost, in unsigned long aSerial); */
     114             : NS_IMETHODIMP nsDashboardEventNotifier::RemoveHost(const nsACString & aHost, uint32_t aSerial)
     115             : {
     116             :     return NS_ERROR_NOT_IMPLEMENTED;
     117             : }
     118             : 
     119             : /* void newMsgSent (in ACString aHost, in unsigned long aSerial, in unsigned long aLength); */
     120             : NS_IMETHODIMP nsDashboardEventNotifier::NewMsgSent(const nsACString & aHost, uint32_t aSerial, uint32_t aLength)
     121             : {
     122             :     return NS_ERROR_NOT_IMPLEMENTED;
     123             : }
     124             : 
     125             : /* void newMsgReceived (in ACString aHost, in unsigned long aSerial, in unsigned long aLength); */
     126             : NS_IMETHODIMP nsDashboardEventNotifier::NewMsgReceived(const nsACString & aHost, uint32_t aSerial, uint32_t aLength)
     127             : {
     128             :     return NS_ERROR_NOT_IMPLEMENTED;
     129             : }
     130             : 
     131             : /* End of implementation class template. */
     132             : #endif
     133             : 
     134             : 
     135             : #endif /* __gen_nsIDashboardEventNotifier_h__ */

Generated by: LCOV version 1.13