LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIApplicationCacheContainer.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/nsIApplicationCacheContainer.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIApplicationCacheContainer_h__
       6             : #define __gen_nsIApplicationCacheContainer_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 nsIApplicationCache; /* forward declaration */
      18             : 
      19             : 
      20             : /* starting interface:    nsIApplicationCacheContainer */
      21             : #define NS_IAPPLICATIONCACHECONTAINER_IID_STR "bbb80700-1f7f-4258-aff4-1743cc5a7d23"
      22             : 
      23             : #define NS_IAPPLICATIONCACHECONTAINER_IID \
      24             :   {0xbbb80700, 0x1f7f, 0x4258, \
      25             :     { 0xaf, 0xf4, 0x17, 0x43, 0xcc, 0x5a, 0x7d, 0x23 }}
      26             : 
      27          65 : class NS_NO_VTABLE nsIApplicationCacheContainer : public nsISupports {
      28             :  public:
      29             : 
      30             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAPPLICATIONCACHECONTAINER_IID)
      31             : 
      32             :   /* attribute nsIApplicationCache applicationCache; */
      33             :   NS_IMETHOD GetApplicationCache(nsIApplicationCache * *aApplicationCache) = 0;
      34             :   NS_IMETHOD SetApplicationCache(nsIApplicationCache *aApplicationCache) = 0;
      35             : 
      36             : };
      37             : 
      38             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIApplicationCacheContainer, NS_IAPPLICATIONCACHECONTAINER_IID)
      39             : 
      40             : /* Use this macro when declaring classes that implement this interface. */
      41             : #define NS_DECL_NSIAPPLICATIONCACHECONTAINER \
      42             :   NS_IMETHOD GetApplicationCache(nsIApplicationCache * *aApplicationCache) override; \
      43             :   NS_IMETHOD SetApplicationCache(nsIApplicationCache *aApplicationCache) override; 
      44             : 
      45             : /* Use this macro when declaring the members of this interface when the
      46             :    class doesn't implement the interface. This is useful for forwarding. */
      47             : #define NS_DECL_NON_VIRTUAL_NSIAPPLICATIONCACHECONTAINER \
      48             :   nsresult GetApplicationCache(nsIApplicationCache * *aApplicationCache); \
      49             :   nsresult SetApplicationCache(nsIApplicationCache *aApplicationCache); 
      50             : 
      51             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      52             : #define NS_FORWARD_NSIAPPLICATIONCACHECONTAINER(_to) \
      53             :   NS_IMETHOD GetApplicationCache(nsIApplicationCache * *aApplicationCache) override { return _to GetApplicationCache(aApplicationCache); } \
      54             :   NS_IMETHOD SetApplicationCache(nsIApplicationCache *aApplicationCache) override { return _to SetApplicationCache(aApplicationCache); } 
      55             : 
      56             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      57             : #define NS_FORWARD_SAFE_NSIAPPLICATIONCACHECONTAINER(_to) \
      58             :   NS_IMETHOD GetApplicationCache(nsIApplicationCache * *aApplicationCache) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplicationCache(aApplicationCache); } \
      59             :   NS_IMETHOD SetApplicationCache(nsIApplicationCache *aApplicationCache) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetApplicationCache(aApplicationCache); } 
      60             : 
      61             : #if 0
      62             : /* Use the code below as a template for the implementation class for this interface. */
      63             : 
      64             : /* Header file */
      65             : class nsApplicationCacheContainer : public nsIApplicationCacheContainer
      66             : {
      67             : public:
      68             :   NS_DECL_ISUPPORTS
      69             :   NS_DECL_NSIAPPLICATIONCACHECONTAINER
      70             : 
      71             :   nsApplicationCacheContainer();
      72             : 
      73             : private:
      74             :   ~nsApplicationCacheContainer();
      75             : 
      76             : protected:
      77             :   /* additional members */
      78             : };
      79             : 
      80             : /* Implementation file */
      81             : NS_IMPL_ISUPPORTS(nsApplicationCacheContainer, nsIApplicationCacheContainer)
      82             : 
      83             : nsApplicationCacheContainer::nsApplicationCacheContainer()
      84             : {
      85             :   /* member initializers and constructor code */
      86             : }
      87             : 
      88             : nsApplicationCacheContainer::~nsApplicationCacheContainer()
      89             : {
      90             :   /* destructor code */
      91             : }
      92             : 
      93             : /* attribute nsIApplicationCache applicationCache; */
      94             : NS_IMETHODIMP nsApplicationCacheContainer::GetApplicationCache(nsIApplicationCache * *aApplicationCache)
      95             : {
      96             :     return NS_ERROR_NOT_IMPLEMENTED;
      97             : }
      98             : NS_IMETHODIMP nsApplicationCacheContainer::SetApplicationCache(nsIApplicationCache *aApplicationCache)
      99             : {
     100             :     return NS_ERROR_NOT_IMPLEMENTED;
     101             : }
     102             : 
     103             : /* End of implementation class template. */
     104             : #endif
     105             : 
     106             : 
     107             : #endif /* __gen_nsIApplicationCacheContainer_h__ */

Generated by: LCOV version 1.13