LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIIdlePeriod.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/nsIIdlePeriod.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIIdlePeriod_h__
       6             : #define __gen_nsIIdlePeriod_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             : namespace mozilla {
      18             : class TimeStamp;
      19             : }
      20             : 
      21             : /* starting interface:    nsIIdlePeriod */
      22             : #define NS_IIDLEPERIOD_IID_STR "21dd35a2-eae9-4bd8-b470-0dfa35a0e3b9"
      23             : 
      24             : #define NS_IIDLEPERIOD_IID \
      25             :   {0x21dd35a2, 0xeae9, 0x4bd8, \
      26             :     { 0xb4, 0x70, 0x0d, 0xfa, 0x35, 0xa0, 0xe3, 0xb9 }}
      27             : 
      28          69 : class NS_NO_VTABLE nsIIdlePeriod : public nsISupports {
      29             :  public:
      30             : 
      31             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IIDLEPERIOD_IID)
      32             : 
      33             :   /* TimeStamp getIdlePeriodHint (); */
      34             :   NS_IMETHOD GetIdlePeriodHint(mozilla::TimeStamp *_retval) = 0;
      35             : 
      36             : };
      37             : 
      38             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIIdlePeriod, NS_IIDLEPERIOD_IID)
      39             : 
      40             : /* Use this macro when declaring classes that implement this interface. */
      41             : #define NS_DECL_NSIIDLEPERIOD \
      42             :   NS_IMETHOD GetIdlePeriodHint(mozilla::TimeStamp *_retval) override; 
      43             : 
      44             : /* Use this macro when declaring the members of this interface when the
      45             :    class doesn't implement the interface. This is useful for forwarding. */
      46             : #define NS_DECL_NON_VIRTUAL_NSIIDLEPERIOD \
      47             :   nsresult GetIdlePeriodHint(mozilla::TimeStamp *_retval); 
      48             : 
      49             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      50             : #define NS_FORWARD_NSIIDLEPERIOD(_to) \
      51             :   NS_IMETHOD GetIdlePeriodHint(mozilla::TimeStamp *_retval) override { return _to GetIdlePeriodHint(_retval); } 
      52             : 
      53             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      54             : #define NS_FORWARD_SAFE_NSIIDLEPERIOD(_to) \
      55             :   NS_IMETHOD GetIdlePeriodHint(mozilla::TimeStamp *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdlePeriodHint(_retval); } 
      56             : 
      57             : #if 0
      58             : /* Use the code below as a template for the implementation class for this interface. */
      59             : 
      60             : /* Header file */
      61             : class nsIdlePeriod : public nsIIdlePeriod
      62             : {
      63             : public:
      64             :   NS_DECL_ISUPPORTS
      65             :   NS_DECL_NSIIDLEPERIOD
      66             : 
      67             :   nsIdlePeriod();
      68             : 
      69             : private:
      70             :   ~nsIdlePeriod();
      71             : 
      72             : protected:
      73             :   /* additional members */
      74             : };
      75             : 
      76             : /* Implementation file */
      77             : NS_IMPL_ISUPPORTS(nsIdlePeriod, nsIIdlePeriod)
      78             : 
      79             : nsIdlePeriod::nsIdlePeriod()
      80             : {
      81             :   /* member initializers and constructor code */
      82             : }
      83             : 
      84             : nsIdlePeriod::~nsIdlePeriod()
      85             : {
      86             :   /* destructor code */
      87             : }
      88             : 
      89             : /* TimeStamp getIdlePeriodHint (); */
      90             : NS_IMETHODIMP nsIdlePeriod::GetIdlePeriodHint(mozilla::TimeStamp *_retval)
      91             : {
      92             :     return NS_ERROR_NOT_IMPLEMENTED;
      93             : }
      94             : 
      95             : /* End of implementation class template. */
      96             : #endif
      97             : 
      98             : 
      99             : #endif /* __gen_nsIIdlePeriod_h__ */

Generated by: LCOV version 1.13