LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - imgINotificationObserver.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/imgINotificationObserver.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_imgINotificationObserver_h__
       6             : #define __gen_imgINotificationObserver_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 imgIRequest; /* forward declaration */
      18             : 
      19             : #include "nsRect.h"
      20             : 
      21             : /* starting interface:    imgINotificationObserver */
      22             : #define IMGINOTIFICATIONOBSERVER_IID_STR "03da5641-a333-454a-a859-036d0bb683b7"
      23             : 
      24             : #define IMGINOTIFICATIONOBSERVER_IID \
      25             :   {0x03da5641, 0xa333, 0x454a, \
      26             :     { 0xa8, 0x59, 0x03, 0x6d, 0x0b, 0xb6, 0x83, 0xb7 }}
      27             : 
      28         128 : class NS_NO_VTABLE imgINotificationObserver : public nsISupports {
      29             :  public:
      30             : 
      31             :   NS_DECLARE_STATIC_IID_ACCESSOR(IMGINOTIFICATIONOBSERVER_IID)
      32             : 
      33             :   enum {
      34             :     SIZE_AVAILABLE = 1,
      35             :     FRAME_UPDATE = 2,
      36             :     FRAME_COMPLETE = 3,
      37             :     LOAD_COMPLETE = 4,
      38             :     DECODE_COMPLETE = 5,
      39             :     DISCARD = 6,
      40             :     UNLOCKED_DRAW = 7,
      41             :     IS_ANIMATED = 8,
      42             :     HAS_TRANSPARENCY = 9
      43             :   };
      44             : 
      45             :   /* [noscript] void notify (in imgIRequest aProxy, in long aType, [const] in nsIntRect aRect); */
      46             :   NS_IMETHOD Notify(imgIRequest *aProxy, int32_t aType, const nsIntRect *aRect) = 0;
      47             : 
      48             : };
      49             : 
      50             :   NS_DEFINE_STATIC_IID_ACCESSOR(imgINotificationObserver, IMGINOTIFICATIONOBSERVER_IID)
      51             : 
      52             : /* Use this macro when declaring classes that implement this interface. */
      53             : #define NS_DECL_IMGINOTIFICATIONOBSERVER \
      54             :   NS_IMETHOD Notify(imgIRequest *aProxy, int32_t aType, const nsIntRect *aRect) override; 
      55             : 
      56             : /* Use this macro when declaring the members of this interface when the
      57             :    class doesn't implement the interface. This is useful for forwarding. */
      58             : #define NS_DECL_NON_VIRTUAL_IMGINOTIFICATIONOBSERVER \
      59             :   nsresult Notify(imgIRequest *aProxy, int32_t aType, const nsIntRect *aRect); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_IMGINOTIFICATIONOBSERVER(_to) \
      63             :   NS_IMETHOD Notify(imgIRequest *aProxy, int32_t aType, const nsIntRect *aRect) override { return _to Notify(aProxy, aType, aRect); } 
      64             : 
      65             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      66             : #define NS_FORWARD_SAFE_IMGINOTIFICATIONOBSERVER(_to) \
      67             :   NS_IMETHOD Notify(imgIRequest *aProxy, int32_t aType, const nsIntRect *aRect) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Notify(aProxy, aType, aRect); } 
      68             : 
      69             : #if 0
      70             : /* Use the code below as a template for the implementation class for this interface. */
      71             : 
      72             : /* Header file */
      73             : class _MYCLASS_ : public imgINotificationObserver
      74             : {
      75             : public:
      76             :   NS_DECL_ISUPPORTS
      77             :   NS_DECL_IMGINOTIFICATIONOBSERVER
      78             : 
      79             :   _MYCLASS_();
      80             : 
      81             : private:
      82             :   ~_MYCLASS_();
      83             : 
      84             : protected:
      85             :   /* additional members */
      86             : };
      87             : 
      88             : /* Implementation file */
      89             : NS_IMPL_ISUPPORTS(_MYCLASS_, imgINotificationObserver)
      90             : 
      91             : _MYCLASS_::_MYCLASS_()
      92             : {
      93             :   /* member initializers and constructor code */
      94             : }
      95             : 
      96             : _MYCLASS_::~_MYCLASS_()
      97             : {
      98             :   /* destructor code */
      99             : }
     100             : 
     101             : /* [noscript] void notify (in imgIRequest aProxy, in long aType, [const] in nsIntRect aRect); */
     102             : NS_IMETHODIMP _MYCLASS_::Notify(imgIRequest *aProxy, int32_t aType, const nsIntRect *aRect)
     103             : {
     104             :     return NS_ERROR_NOT_IMPLEMENTED;
     105             : }
     106             : 
     107             : /* End of implementation class template. */
     108             : #endif
     109             : 
     110             : 
     111             : #endif /* __gen_imgINotificationObserver_h__ */

Generated by: LCOV version 1.13