LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMCSSMediaRule.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/nsIDOMCSSMediaRule.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMCSSMediaRule_h__
       6                 : #define __gen_nsIDOMCSSMediaRule_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:    nsIDOMCSSMediaRule */
      19                 : #define NS_IDOMCSSMEDIARULE_IID_STR "a6cf90bc-15b3-11d2-932e-00805f8add32"
      20                 : 
      21                 : #define NS_IDOMCSSMEDIARULE_IID \
      22                 :   {0xa6cf90bc, 0x15b3, 0x11d2, \
      23                 :     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMCSSMediaRule : public nsIDOMCSSRule {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSMEDIARULE_IID)
      29                 : 
      30                 :   /* readonly attribute nsIDOMMediaList media; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) = 0;
      32                 : 
      33                 :   /* readonly attribute nsIDOMCSSRuleList cssRules; */
      34                 :   NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) = 0;
      35                 : 
      36                 :   /* unsigned long insertRule (in DOMString rule, in unsigned long index) raises (DOMException); */
      37                 :   NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule, PRUint32 index, PRUint32 *_retval NS_OUTPARAM) = 0;
      38                 : 
      39                 :   /* void deleteRule (in unsigned long index) raises (DOMException); */
      40                 :   NS_SCRIPTABLE NS_IMETHOD DeleteRule(PRUint32 index) = 0;
      41                 : 
      42                 : };
      43                 : 
      44                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSMediaRule, NS_IDOMCSSMEDIARULE_IID)
      45                 : 
      46                 : /* Use this macro when declaring classes that implement this interface. */
      47                 : #define NS_DECL_NSIDOMCSSMEDIARULE \
      48                 :   NS_SCRIPTABLE NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia); \
      49                 :   NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules); \
      50                 :   NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule, PRUint32 index, PRUint32 *_retval NS_OUTPARAM); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD DeleteRule(PRUint32 index); 
      52                 : 
      53                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      54                 : #define NS_FORWARD_NSIDOMCSSMEDIARULE(_to) \
      55                 :   NS_SCRIPTABLE NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) { return _to GetMedia(aMedia); } \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) { return _to GetCssRules(aCssRules); } \
      57                 :   NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule, PRUint32 index, PRUint32 *_retval NS_OUTPARAM) { return _to InsertRule(rule, index, _retval); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD DeleteRule(PRUint32 index) { return _to DeleteRule(index); } 
      59                 : 
      60                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      61                 : #define NS_FORWARD_SAFE_NSIDOMCSSMEDIARULE(_to) \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetMedia(nsIDOMMediaList * *aMedia) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMedia(aMedia); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD GetCssRules(nsIDOMCSSRuleList * *aCssRules) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssRules(aCssRules); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD InsertRule(const nsAString & rule, PRUint32 index, PRUint32 *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->InsertRule(rule, index, _retval); } \
      65                 :   NS_SCRIPTABLE NS_IMETHOD DeleteRule(PRUint32 index) { return !_to ? NS_ERROR_NULL_POINTER : _to->DeleteRule(index); } 
      66                 : 
      67                 : #if 0
      68                 : /* Use the code below as a template for the implementation class for this interface. */
      69                 : 
      70                 : /* Header file */
      71                 : class nsDOMCSSMediaRule : public nsIDOMCSSMediaRule
      72                 : {
      73                 : public:
      74                 :   NS_DECL_ISUPPORTS
      75                 :   NS_DECL_NSIDOMCSSMEDIARULE
      76                 : 
      77                 :   nsDOMCSSMediaRule();
      78                 : 
      79                 : private:
      80                 :   ~nsDOMCSSMediaRule();
      81                 : 
      82                 : protected:
      83                 :   /* additional members */
      84                 : };
      85                 : 
      86                 : /* Implementation file */
      87                 : NS_IMPL_ISUPPORTS1(nsDOMCSSMediaRule, nsIDOMCSSMediaRule)
      88                 : 
      89                 : nsDOMCSSMediaRule::nsDOMCSSMediaRule()
      90                 : {
      91                 :   /* member initializers and constructor code */
      92                 : }
      93                 : 
      94                 : nsDOMCSSMediaRule::~nsDOMCSSMediaRule()
      95                 : {
      96                 :   /* destructor code */
      97                 : }
      98                 : 
      99                 : /* readonly attribute nsIDOMMediaList media; */
     100                 : NS_IMETHODIMP nsDOMCSSMediaRule::GetMedia(nsIDOMMediaList * *aMedia)
     101                 : {
     102                 :     return NS_ERROR_NOT_IMPLEMENTED;
     103                 : }
     104                 : 
     105                 : /* readonly attribute nsIDOMCSSRuleList cssRules; */
     106                 : NS_IMETHODIMP nsDOMCSSMediaRule::GetCssRules(nsIDOMCSSRuleList * *aCssRules)
     107                 : {
     108                 :     return NS_ERROR_NOT_IMPLEMENTED;
     109                 : }
     110                 : 
     111                 : /* unsigned long insertRule (in DOMString rule, in unsigned long index) raises (DOMException); */
     112                 : NS_IMETHODIMP nsDOMCSSMediaRule::InsertRule(const nsAString & rule, PRUint32 index, PRUint32 *_retval NS_OUTPARAM)
     113                 : {
     114                 :     return NS_ERROR_NOT_IMPLEMENTED;
     115                 : }
     116                 : 
     117                 : /* void deleteRule (in unsigned long index) raises (DOMException); */
     118                 : NS_IMETHODIMP nsDOMCSSMediaRule::DeleteRule(PRUint32 index)
     119                 : {
     120                 :     return NS_ERROR_NOT_IMPLEMENTED;
     121                 : }
     122                 : 
     123                 : /* End of implementation class template. */
     124                 : #endif
     125                 : 
     126                 : 
     127                 : #endif /* __gen_nsIDOMCSSMediaRule_h__ */

Generated by: LCOV version 1.7