LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMCSSCharsetRule.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/css/nsIDOMCSSCharsetRule.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMCSSCharsetRule_h__
       6                 : #define __gen_nsIDOMCSSCharsetRule_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIDOMCSSRule_h__
      10                 : #include "nsIDOMCSSRule.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:    nsIDOMCSSCharsetRule */
      19                 : #define NS_IDOMCSSCHARSETRULE_IID_STR "19fe78cc-65ff-4b1d-a5d7-9ea89692cec6"
      20                 : 
      21                 : #define NS_IDOMCSSCHARSETRULE_IID \
      22                 :   {0x19fe78cc, 0x65ff, 0x4b1d, \
      23                 :     { 0xa5, 0xd7, 0x9e, 0xa8, 0x96, 0x92, 0xce, 0xc6 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMCSSCharsetRule : public nsIDOMCSSRule {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSCHARSETRULE_IID)
      29                 : 
      30                 :   /* attribute DOMString encoding; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetEncoding(nsAString & aEncoding) = 0;
      32                 :   NS_SCRIPTABLE NS_IMETHOD SetEncoding(const nsAString & aEncoding) = 0;
      33                 : 
      34                 : };
      35                 : 
      36                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSCharsetRule, NS_IDOMCSSCHARSETRULE_IID)
      37                 : 
      38                 : /* Use this macro when declaring classes that implement this interface. */
      39                 : #define NS_DECL_NSIDOMCSSCHARSETRULE \
      40                 :   NS_SCRIPTABLE NS_IMETHOD GetEncoding(nsAString & aEncoding); \
      41                 :   NS_SCRIPTABLE NS_IMETHOD SetEncoding(const nsAString & aEncoding); 
      42                 : 
      43                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      44                 : #define NS_FORWARD_NSIDOMCSSCHARSETRULE(_to) \
      45                 :   NS_SCRIPTABLE NS_IMETHOD GetEncoding(nsAString & aEncoding) { return _to GetEncoding(aEncoding); } \
      46                 :   NS_SCRIPTABLE NS_IMETHOD SetEncoding(const nsAString & aEncoding) { return _to SetEncoding(aEncoding); } 
      47                 : 
      48                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      49                 : #define NS_FORWARD_SAFE_NSIDOMCSSCHARSETRULE(_to) \
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetEncoding(nsAString & aEncoding) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEncoding(aEncoding); } \
      51                 :   NS_SCRIPTABLE NS_IMETHOD SetEncoding(const nsAString & aEncoding) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEncoding(aEncoding); } 
      52                 : 
      53                 : #if 0
      54                 : /* Use the code below as a template for the implementation class for this interface. */
      55                 : 
      56                 : /* Header file */
      57                 : class nsDOMCSSCharsetRule : public nsIDOMCSSCharsetRule
      58                 : {
      59                 : public:
      60                 :   NS_DECL_ISUPPORTS
      61                 :   NS_DECL_NSIDOMCSSCHARSETRULE
      62                 : 
      63                 :   nsDOMCSSCharsetRule();
      64                 : 
      65                 : private:
      66                 :   ~nsDOMCSSCharsetRule();
      67                 : 
      68                 : protected:
      69                 :   /* additional members */
      70                 : };
      71                 : 
      72                 : /* Implementation file */
      73                 : NS_IMPL_ISUPPORTS1(nsDOMCSSCharsetRule, nsIDOMCSSCharsetRule)
      74                 : 
      75                 : nsDOMCSSCharsetRule::nsDOMCSSCharsetRule()
      76                 : {
      77                 :   /* member initializers and constructor code */
      78                 : }
      79                 : 
      80                 : nsDOMCSSCharsetRule::~nsDOMCSSCharsetRule()
      81                 : {
      82                 :   /* destructor code */
      83                 : }
      84                 : 
      85                 : /* attribute DOMString encoding; */
      86                 : NS_IMETHODIMP nsDOMCSSCharsetRule::GetEncoding(nsAString & aEncoding)
      87                 : {
      88                 :     return NS_ERROR_NOT_IMPLEMENTED;
      89                 : }
      90                 : NS_IMETHODIMP nsDOMCSSCharsetRule::SetEncoding(const nsAString & aEncoding)
      91                 : {
      92                 :     return NS_ERROR_NOT_IMPLEMENTED;
      93                 : }
      94                 : 
      95                 : /* End of implementation class template. */
      96                 : #endif
      97                 : 
      98                 : 
      99                 : #endif /* __gen_nsIDOMCSSCharsetRule_h__ */

Generated by: LCOV version 1.7