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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIQuotaCallbacks.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIQuotaCallbacks_h__
       6             : #define __gen_nsIQuotaCallbacks_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 nsIQuotaRequest; /* forward declaration */
      18             : 
      19             : class nsIQuotaUsageRequest; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIQuotaUsageCallback */
      23             : #define NS_IQUOTAUSAGECALLBACK_IID_STR "c8a21a2a-17b9-4b63-ad95-e0fbcff5de18"
      24             : 
      25             : #define NS_IQUOTAUSAGECALLBACK_IID \
      26             :   {0xc8a21a2a, 0x17b9, 0x4b63, \
      27             :     { 0xad, 0x95, 0xe0, 0xfb, 0xcf, 0xf5, 0xde, 0x18 }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIQuotaUsageCallback : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IQUOTAUSAGECALLBACK_IID)
      33             : 
      34             :   /* void onUsageResult (in nsIQuotaUsageRequest aRequest); */
      35             :   NS_IMETHOD OnUsageResult(nsIQuotaUsageRequest *aRequest) = 0;
      36             : 
      37             : };
      38             : 
      39             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIQuotaUsageCallback, NS_IQUOTAUSAGECALLBACK_IID)
      40             : 
      41             : /* Use this macro when declaring classes that implement this interface. */
      42             : #define NS_DECL_NSIQUOTAUSAGECALLBACK \
      43             :   NS_IMETHOD OnUsageResult(nsIQuotaUsageRequest *aRequest) 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_NSIQUOTAUSAGECALLBACK \
      48             :   nsresult OnUsageResult(nsIQuotaUsageRequest *aRequest); 
      49             : 
      50             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      51             : #define NS_FORWARD_NSIQUOTAUSAGECALLBACK(_to) \
      52             :   NS_IMETHOD OnUsageResult(nsIQuotaUsageRequest *aRequest) override { return _to OnUsageResult(aRequest); } 
      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_NSIQUOTAUSAGECALLBACK(_to) \
      56             :   NS_IMETHOD OnUsageResult(nsIQuotaUsageRequest *aRequest) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnUsageResult(aRequest); } 
      57             : 
      58             : #if 0
      59             : /* Use the code below as a template for the implementation class for this interface. */
      60             : 
      61             : /* Header file */
      62             : class nsQuotaUsageCallback : public nsIQuotaUsageCallback
      63             : {
      64             : public:
      65             :   NS_DECL_ISUPPORTS
      66             :   NS_DECL_NSIQUOTAUSAGECALLBACK
      67             : 
      68             :   nsQuotaUsageCallback();
      69             : 
      70             : private:
      71             :   ~nsQuotaUsageCallback();
      72             : 
      73             : protected:
      74             :   /* additional members */
      75             : };
      76             : 
      77             : /* Implementation file */
      78             : NS_IMPL_ISUPPORTS(nsQuotaUsageCallback, nsIQuotaUsageCallback)
      79             : 
      80             : nsQuotaUsageCallback::nsQuotaUsageCallback()
      81             : {
      82             :   /* member initializers and constructor code */
      83             : }
      84             : 
      85             : nsQuotaUsageCallback::~nsQuotaUsageCallback()
      86             : {
      87             :   /* destructor code */
      88             : }
      89             : 
      90             : /* void onUsageResult (in nsIQuotaUsageRequest aRequest); */
      91             : NS_IMETHODIMP nsQuotaUsageCallback::OnUsageResult(nsIQuotaUsageRequest *aRequest)
      92             : {
      93             :     return NS_ERROR_NOT_IMPLEMENTED;
      94             : }
      95             : 
      96             : /* End of implementation class template. */
      97             : #endif
      98             : 
      99             : 
     100             : /* starting interface:    nsIQuotaCallback */
     101             : #define NS_IQUOTACALLBACK_IID_STR "a08a28e2-5a74-4c84-8070-ed45a07eb013"
     102             : 
     103             : #define NS_IQUOTACALLBACK_IID \
     104             :   {0xa08a28e2, 0x5a74, 0x4c84, \
     105             :     { 0x80, 0x70, 0xed, 0x45, 0xa0, 0x7e, 0xb0, 0x13 }}
     106             : 
     107           0 : class NS_NO_VTABLE nsIQuotaCallback : public nsISupports {
     108             :  public:
     109             : 
     110             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IQUOTACALLBACK_IID)
     111             : 
     112             :   /* void onComplete (in nsIQuotaRequest aRequest); */
     113             :   NS_IMETHOD OnComplete(nsIQuotaRequest *aRequest) = 0;
     114             : 
     115             : };
     116             : 
     117             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIQuotaCallback, NS_IQUOTACALLBACK_IID)
     118             : 
     119             : /* Use this macro when declaring classes that implement this interface. */
     120             : #define NS_DECL_NSIQUOTACALLBACK \
     121             :   NS_IMETHOD OnComplete(nsIQuotaRequest *aRequest) override; 
     122             : 
     123             : /* Use this macro when declaring the members of this interface when the
     124             :    class doesn't implement the interface. This is useful for forwarding. */
     125             : #define NS_DECL_NON_VIRTUAL_NSIQUOTACALLBACK \
     126             :   nsresult OnComplete(nsIQuotaRequest *aRequest); 
     127             : 
     128             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     129             : #define NS_FORWARD_NSIQUOTACALLBACK(_to) \
     130             :   NS_IMETHOD OnComplete(nsIQuotaRequest *aRequest) override { return _to OnComplete(aRequest); } 
     131             : 
     132             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     133             : #define NS_FORWARD_SAFE_NSIQUOTACALLBACK(_to) \
     134             :   NS_IMETHOD OnComplete(nsIQuotaRequest *aRequest) override { return !_to ? NS_ERROR_NULL_POINTER : _to->OnComplete(aRequest); } 
     135             : 
     136             : #if 0
     137             : /* Use the code below as a template for the implementation class for this interface. */
     138             : 
     139             : /* Header file */
     140             : class nsQuotaCallback : public nsIQuotaCallback
     141             : {
     142             : public:
     143             :   NS_DECL_ISUPPORTS
     144             :   NS_DECL_NSIQUOTACALLBACK
     145             : 
     146             :   nsQuotaCallback();
     147             : 
     148             : private:
     149             :   ~nsQuotaCallback();
     150             : 
     151             : protected:
     152             :   /* additional members */
     153             : };
     154             : 
     155             : /* Implementation file */
     156             : NS_IMPL_ISUPPORTS(nsQuotaCallback, nsIQuotaCallback)
     157             : 
     158             : nsQuotaCallback::nsQuotaCallback()
     159             : {
     160             :   /* member initializers and constructor code */
     161             : }
     162             : 
     163             : nsQuotaCallback::~nsQuotaCallback()
     164             : {
     165             :   /* destructor code */
     166             : }
     167             : 
     168             : /* void onComplete (in nsIQuotaRequest aRequest); */
     169             : NS_IMETHODIMP nsQuotaCallback::OnComplete(nsIQuotaRequest *aRequest)
     170             : {
     171             :     return NS_ERROR_NOT_IMPLEMENTED;
     172             : }
     173             : 
     174             : /* End of implementation class template. */
     175             : #endif
     176             : 
     177             : 
     178             : #endif /* __gen_nsIQuotaCallbacks_h__ */

Generated by: LCOV version 1.13