LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMStyleSheet.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/stylesheets/nsIDOMStyleSheet.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMStyleSheet_h__
       6                 : #define __gen_nsIDOMStyleSheet_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_domstubs_h__
      10                 : #include "domstubs.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:    nsIDOMStyleSheet */
      19                 : #define NS_IDOMSTYLESHEET_IID_STR "a6cf9080-15b3-11d2-932e-00805f8add32"
      20                 : 
      21                 : #define NS_IDOMSTYLESHEET_IID \
      22                 :   {0xa6cf9080, 0x15b3, 0x11d2, \
      23                 :     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMStyleSheet : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSTYLESHEET_IID)
      29                 : 
      30                 :   /* readonly attribute DOMString type; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) = 0;
      32                 : 
      33                 :   /* attribute boolean disabled; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) = 0;
      35                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) = 0;
      36                 : 
      37                 :   /* readonly attribute nsIDOMNode ownerNode; */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetOwnerNode(nsIDOMNode * *aOwnerNode) = 0;
      39                 : 
      40                 :   /* readonly attribute nsIDOMStyleSheet parentStyleSheet; */
      41                 :   NS_SCRIPTABLE NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet) = 0;
      42                 : 
      43                 :   /* readonly attribute DOMString href; */
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetHref(nsAString & aHref) = 0;
      45                 : 
      46                 :   /* readonly attribute DOMString title; */
      47                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) = 0;
      48                 : 
      49                 :   /* readonly attribute nsIDOMMediaList media; */
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) = 0;
      51                 : 
      52                 : };
      53                 : 
      54                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMStyleSheet, NS_IDOMSTYLESHEET_IID)
      55                 : 
      56                 : /* Use this macro when declaring classes that implement this interface. */
      57                 : #define NS_DECL_NSIDOMSTYLESHEET \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType); \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled); \
      60                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled); \
      61                 :   NS_SCRIPTABLE NS_IMETHOD GetOwnerNode(nsIDOMNode * *aOwnerNode); \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet); \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetHref(nsAString & aHref); \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia); 
      66                 : 
      67                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      68                 : #define NS_FORWARD_NSIDOMSTYLESHEET(_to) \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return _to GetType(aType); } \
      70                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return _to GetDisabled(aDisabled); } \
      71                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return _to SetDisabled(aDisabled); } \
      72                 :   NS_SCRIPTABLE NS_IMETHOD GetOwnerNode(nsIDOMNode * *aOwnerNode) { return _to GetOwnerNode(aOwnerNode); } \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet) { return _to GetParentStyleSheet(aParentStyleSheet); } \
      74                 :   NS_SCRIPTABLE NS_IMETHOD GetHref(nsAString & aHref) { return _to GetHref(aHref); } \
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) { return _to GetTitle(aTitle); } \
      76                 :   NS_SCRIPTABLE NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) { return _to GetMedia(aMedia); } 
      77                 : 
      78                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      79                 : #define NS_FORWARD_SAFE_NSIDOMSTYLESHEET(_to) \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetType(nsAString & aType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetType(aType); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetDisabled(bool *aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisabled(aDisabled); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD SetDisabled(bool aDisabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDisabled(aDisabled); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD GetOwnerNode(nsIDOMNode * *aOwnerNode) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOwnerNode(aOwnerNode); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentStyleSheet(aParentStyleSheet); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD GetHref(nsAString & aHref) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHref(aHref); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetTitle(nsAString & aTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTitle(aTitle); } \
      87                 :   NS_SCRIPTABLE NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } 
      88                 : 
      89                 : #if 0
      90                 : /* Use the code below as a template for the implementation class for this interface. */
      91                 : 
      92                 : /* Header file */
      93                 : class nsDOMStyleSheet : public nsIDOMStyleSheet
      94                 : {
      95                 : public:
      96                 :   NS_DECL_ISUPPORTS
      97                 :   NS_DECL_NSIDOMSTYLESHEET
      98                 : 
      99                 :   nsDOMStyleSheet();
     100                 : 
     101                 : private:
     102                 :   ~nsDOMStyleSheet();
     103                 : 
     104                 : protected:
     105                 :   /* additional members */
     106                 : };
     107                 : 
     108                 : /* Implementation file */
     109                 : NS_IMPL_ISUPPORTS1(nsDOMStyleSheet, nsIDOMStyleSheet)
     110                 : 
     111                 : nsDOMStyleSheet::nsDOMStyleSheet()
     112                 : {
     113                 :   /* member initializers and constructor code */
     114                 : }
     115                 : 
     116                 : nsDOMStyleSheet::~nsDOMStyleSheet()
     117                 : {
     118                 :   /* destructor code */
     119                 : }
     120                 : 
     121                 : /* readonly attribute DOMString type; */
     122                 : NS_IMETHODIMP nsDOMStyleSheet::GetType(nsAString & aType)
     123                 : {
     124                 :     return NS_ERROR_NOT_IMPLEMENTED;
     125                 : }
     126                 : 
     127                 : /* attribute boolean disabled; */
     128                 : NS_IMETHODIMP nsDOMStyleSheet::GetDisabled(bool *aDisabled)
     129                 : {
     130                 :     return NS_ERROR_NOT_IMPLEMENTED;
     131                 : }
     132                 : NS_IMETHODIMP nsDOMStyleSheet::SetDisabled(bool aDisabled)
     133                 : {
     134                 :     return NS_ERROR_NOT_IMPLEMENTED;
     135                 : }
     136                 : 
     137                 : /* readonly attribute nsIDOMNode ownerNode; */
     138                 : NS_IMETHODIMP nsDOMStyleSheet::GetOwnerNode(nsIDOMNode * *aOwnerNode)
     139                 : {
     140                 :     return NS_ERROR_NOT_IMPLEMENTED;
     141                 : }
     142                 : 
     143                 : /* readonly attribute nsIDOMStyleSheet parentStyleSheet; */
     144                 : NS_IMETHODIMP nsDOMStyleSheet::GetParentStyleSheet(nsIDOMStyleSheet * *aParentStyleSheet)
     145                 : {
     146                 :     return NS_ERROR_NOT_IMPLEMENTED;
     147                 : }
     148                 : 
     149                 : /* readonly attribute DOMString href; */
     150                 : NS_IMETHODIMP nsDOMStyleSheet::GetHref(nsAString & aHref)
     151                 : {
     152                 :     return NS_ERROR_NOT_IMPLEMENTED;
     153                 : }
     154                 : 
     155                 : /* readonly attribute DOMString title; */
     156                 : NS_IMETHODIMP nsDOMStyleSheet::GetTitle(nsAString & aTitle)
     157                 : {
     158                 :     return NS_ERROR_NOT_IMPLEMENTED;
     159                 : }
     160                 : 
     161                 : /* readonly attribute nsIDOMMediaList media; */
     162                 : NS_IMETHODIMP nsDOMStyleSheet::GetMedia(nsIDOMMediaList * *aMedia)
     163                 : {
     164                 :     return NS_ERROR_NOT_IMPLEMENTED;
     165                 : }
     166                 : 
     167                 : /* End of implementation class template. */
     168                 : #endif
     169                 : 
     170                 : 
     171                 : #endif /* __gen_nsIDOMStyleSheet_h__ */

Generated by: LCOV version 1.7