LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMScreen.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/nsIDOMScreen.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMScreen_h__
       6             : #define __gen_nsIDOMScreen_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsIDOMEventTarget_h__
      10             : #include "nsIDOMEventTarget.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:    nsIDOMScreen */
      19             : #define NS_IDOMSCREEN_IID_STR "82c7924b-4b46-4e5a-a8d2-6edb5fc0a60d"
      20             : 
      21             : #define NS_IDOMSCREEN_IID \
      22             :   {0x82c7924b, 0x4b46, 0x4e5a, \
      23             :     { 0xa8, 0xd2, 0x6e, 0xdb, 0x5f, 0xc0, 0xa6, 0x0d }}
      24             : 
      25           1 : class NS_NO_VTABLE nsIDOMScreen : public nsIDOMEventTarget {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSCREEN_IID)
      29             : 
      30             :   /* readonly attribute long top; */
      31             :   NS_IMETHOD GetTop(int32_t *aTop) = 0;
      32             : 
      33             :   /* readonly attribute long availWidth; */
      34             :   NS_IMETHOD GetAvailWidth(int32_t *aAvailWidth) = 0;
      35             : 
      36             :   /* readonly attribute long availHeight; */
      37             :   NS_IMETHOD GetAvailHeight(int32_t *aAvailHeight) = 0;
      38             : 
      39             :   /* readonly attribute long availLeft; */
      40             :   NS_IMETHOD GetAvailLeft(int32_t *aAvailLeft) = 0;
      41             : 
      42             :   /* readonly attribute long availTop; */
      43             :   NS_IMETHOD GetAvailTop(int32_t *aAvailTop) = 0;
      44             : 
      45             : };
      46             : 
      47             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMScreen, NS_IDOMSCREEN_IID)
      48             : 
      49             : /* Use this macro when declaring classes that implement this interface. */
      50             : #define NS_DECL_NSIDOMSCREEN \
      51             :   NS_IMETHOD GetTop(int32_t *aTop) override; \
      52             :   NS_IMETHOD GetAvailWidth(int32_t *aAvailWidth) override; \
      53             :   NS_IMETHOD GetAvailHeight(int32_t *aAvailHeight) override; \
      54             :   NS_IMETHOD GetAvailLeft(int32_t *aAvailLeft) override; \
      55             :   NS_IMETHOD GetAvailTop(int32_t *aAvailTop) override; 
      56             : 
      57             : /* Use this macro when declaring the members of this interface when the
      58             :    class doesn't implement the interface. This is useful for forwarding. */
      59             : #define NS_DECL_NON_VIRTUAL_NSIDOMSCREEN \
      60             :   nsresult GetTop(int32_t *aTop); \
      61             :   nsresult GetAvailWidth(int32_t *aAvailWidth); \
      62             :   nsresult GetAvailHeight(int32_t *aAvailHeight); \
      63             :   nsresult GetAvailLeft(int32_t *aAvailLeft); \
      64             :   nsresult GetAvailTop(int32_t *aAvailTop); 
      65             : 
      66             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      67             : #define NS_FORWARD_NSIDOMSCREEN(_to) \
      68             :   NS_IMETHOD GetTop(int32_t *aTop) override { return _to GetTop(aTop); } \
      69             :   NS_IMETHOD GetAvailWidth(int32_t *aAvailWidth) override { return _to GetAvailWidth(aAvailWidth); } \
      70             :   NS_IMETHOD GetAvailHeight(int32_t *aAvailHeight) override { return _to GetAvailHeight(aAvailHeight); } \
      71             :   NS_IMETHOD GetAvailLeft(int32_t *aAvailLeft) override { return _to GetAvailLeft(aAvailLeft); } \
      72             :   NS_IMETHOD GetAvailTop(int32_t *aAvailTop) override { return _to GetAvailTop(aAvailTop); } 
      73             : 
      74             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      75             : #define NS_FORWARD_SAFE_NSIDOMSCREEN(_to) \
      76             :   NS_IMETHOD GetTop(int32_t *aTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
      77             :   NS_IMETHOD GetAvailWidth(int32_t *aAvailWidth) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailWidth(aAvailWidth); } \
      78             :   NS_IMETHOD GetAvailHeight(int32_t *aAvailHeight) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailHeight(aAvailHeight); } \
      79             :   NS_IMETHOD GetAvailLeft(int32_t *aAvailLeft) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailLeft(aAvailLeft); } \
      80             :   NS_IMETHOD GetAvailTop(int32_t *aAvailTop) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailTop(aAvailTop); } 
      81             : 
      82             : #if 0
      83             : /* Use the code below as a template for the implementation class for this interface. */
      84             : 
      85             : /* Header file */
      86             : class nsDOMScreen : public nsIDOMScreen
      87             : {
      88             : public:
      89             :   NS_DECL_ISUPPORTS
      90             :   NS_DECL_NSIDOMSCREEN
      91             : 
      92             :   nsDOMScreen();
      93             : 
      94             : private:
      95             :   ~nsDOMScreen();
      96             : 
      97             : protected:
      98             :   /* additional members */
      99             : };
     100             : 
     101             : /* Implementation file */
     102             : NS_IMPL_ISUPPORTS(nsDOMScreen, nsIDOMScreen)
     103             : 
     104             : nsDOMScreen::nsDOMScreen()
     105             : {
     106             :   /* member initializers and constructor code */
     107             : }
     108             : 
     109             : nsDOMScreen::~nsDOMScreen()
     110             : {
     111             :   /* destructor code */
     112             : }
     113             : 
     114             : /* readonly attribute long top; */
     115             : NS_IMETHODIMP nsDOMScreen::GetTop(int32_t *aTop)
     116             : {
     117             :     return NS_ERROR_NOT_IMPLEMENTED;
     118             : }
     119             : 
     120             : /* readonly attribute long availWidth; */
     121             : NS_IMETHODIMP nsDOMScreen::GetAvailWidth(int32_t *aAvailWidth)
     122             : {
     123             :     return NS_ERROR_NOT_IMPLEMENTED;
     124             : }
     125             : 
     126             : /* readonly attribute long availHeight; */
     127             : NS_IMETHODIMP nsDOMScreen::GetAvailHeight(int32_t *aAvailHeight)
     128             : {
     129             :     return NS_ERROR_NOT_IMPLEMENTED;
     130             : }
     131             : 
     132             : /* readonly attribute long availLeft; */
     133             : NS_IMETHODIMP nsDOMScreen::GetAvailLeft(int32_t *aAvailLeft)
     134             : {
     135             :     return NS_ERROR_NOT_IMPLEMENTED;
     136             : }
     137             : 
     138             : /* readonly attribute long availTop; */
     139             : NS_IMETHODIMP nsDOMScreen::GetAvailTop(int32_t *aAvailTop)
     140             : {
     141             :     return NS_ERROR_NOT_IMPLEMENTED;
     142             : }
     143             : 
     144             : /* End of implementation class template. */
     145             : #endif
     146             : 
     147             : 
     148             : #endif /* __gen_nsIDOMScreen_h__ */

Generated by: LCOV version 1.13