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

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/css/nsIDOMCSSStyleDeclaration.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMCSSStyleDeclaration_h__
       6                 : #define __gen_nsIDOMCSSStyleDeclaration_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:    nsIDOMCSSStyleDeclaration */
      19                 : #define NS_IDOMCSSSTYLEDECLARATION_IID_STR "a6cf90be-15b3-11d2-932e-00805f8add32"
      20                 : 
      21                 : #define NS_IDOMCSSSTYLEDECLARATION_IID \
      22                 :   {0xa6cf90be, 0x15b3, 0x11d2, \
      23                 :     { 0x93, 0x2e, 0x00, 0x80, 0x5f, 0x8a, 0xdd, 0x32 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMCSSStyleDeclaration : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSSTYLEDECLARATION_IID)
      29                 : 
      30                 :   /* attribute DOMString cssText; */
      31                 :   NS_SCRIPTABLE NS_IMETHOD GetCssText(nsAString & aCssText) = 0;
      32                 :   NS_SCRIPTABLE NS_IMETHOD SetCssText(const nsAString & aCssText) = 0;
      33                 : 
      34                 :   /* DOMString getPropertyValue (in DOMString propertyName); */
      35                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyValue(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) = 0;
      36                 : 
      37                 :   /* nsIDOMCSSValue getPropertyCSSValue (in DOMString propertyName); */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue * *_retval NS_OUTPARAM) = 0;
      39                 : 
      40                 :   /* DOMString removeProperty (in DOMString propertyName) raises (DOMException); */
      41                 :   NS_SCRIPTABLE NS_IMETHOD RemoveProperty(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) = 0;
      42                 : 
      43                 :   /* DOMString getPropertyPriority (in DOMString propertyName); */
      44                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyPriority(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) = 0;
      45                 : 
      46                 :   /* void setProperty (in DOMString propertyName, in DOMString value, [optional] in DOMString priority) raises (DOMException); */
      47                 :   NS_SCRIPTABLE NS_IMETHOD SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority) = 0;
      48                 : 
      49                 :   /* readonly attribute unsigned long length; */
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) = 0;
      51                 : 
      52                 :   /* DOMString item (in unsigned long index); */
      53                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsAString & _retval NS_OUTPARAM) = 0;
      54                 : 
      55                 :   /* readonly attribute nsIDOMCSSRule parentRule; */
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetParentRule(nsIDOMCSSRule * *aParentRule) = 0;
      57                 : 
      58                 : };
      59                 : 
      60                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSStyleDeclaration, NS_IDOMCSSSTYLEDECLARATION_IID)
      61                 : 
      62                 : /* Use this macro when declaring classes that implement this interface. */
      63                 : #define NS_DECL_NSIDOMCSSSTYLEDECLARATION \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetCssText(nsAString & aCssText); \
      65                 :   NS_SCRIPTABLE NS_IMETHOD SetCssText(const nsAString & aCssText); \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyValue(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM); \
      67                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue * *_retval NS_OUTPARAM); \
      68                 :   NS_SCRIPTABLE NS_IMETHOD RemoveProperty(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM); \
      69                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyPriority(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM); \
      70                 :   NS_SCRIPTABLE NS_IMETHOD SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority); \
      71                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength); \
      72                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsAString & _retval NS_OUTPARAM); \
      73                 :   NS_SCRIPTABLE NS_IMETHOD GetParentRule(nsIDOMCSSRule * *aParentRule); 
      74                 : 
      75                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      76                 : #define NS_FORWARD_NSIDOMCSSSTYLEDECLARATION(_to) \
      77                 :   NS_SCRIPTABLE NS_IMETHOD GetCssText(nsAString & aCssText) { return _to GetCssText(aCssText); } \
      78                 :   NS_SCRIPTABLE NS_IMETHOD SetCssText(const nsAString & aCssText) { return _to SetCssText(aCssText); } \
      79                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyValue(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) { return _to GetPropertyValue(propertyName, _retval); } \
      80                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue * *_retval NS_OUTPARAM) { return _to GetPropertyCSSValue(propertyName, _retval); } \
      81                 :   NS_SCRIPTABLE NS_IMETHOD RemoveProperty(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) { return _to RemoveProperty(propertyName, _retval); } \
      82                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyPriority(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) { return _to GetPropertyPriority(propertyName, _retval); } \
      83                 :   NS_SCRIPTABLE NS_IMETHOD SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority) { return _to SetProperty(propertyName, value, priority); } \
      84                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return _to GetLength(aLength); } \
      85                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsAString & _retval NS_OUTPARAM) { return _to Item(index, _retval); } \
      86                 :   NS_SCRIPTABLE NS_IMETHOD GetParentRule(nsIDOMCSSRule * *aParentRule) { return _to GetParentRule(aParentRule); } 
      87                 : 
      88                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      89                 : #define NS_FORWARD_SAFE_NSIDOMCSSSTYLEDECLARATION(_to) \
      90                 :   NS_SCRIPTABLE NS_IMETHOD GetCssText(nsAString & aCssText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssText(aCssText); } \
      91                 :   NS_SCRIPTABLE NS_IMETHOD SetCssText(const nsAString & aCssText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCssText(aCssText); } \
      92                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyValue(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyValue(propertyName, _retval); } \
      93                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyCSSValue(propertyName, _retval); } \
      94                 :   NS_SCRIPTABLE NS_IMETHOD RemoveProperty(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveProperty(propertyName, _retval); } \
      95                 :   NS_SCRIPTABLE NS_IMETHOD GetPropertyPriority(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPropertyPriority(propertyName, _retval); } \
      96                 :   NS_SCRIPTABLE NS_IMETHOD SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetProperty(propertyName, value, priority); } \
      97                 :   NS_SCRIPTABLE NS_IMETHOD GetLength(PRUint32 *aLength) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLength(aLength); } \
      98                 :   NS_SCRIPTABLE NS_IMETHOD Item(PRUint32 index, nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->Item(index, _retval); } \
      99                 :   NS_SCRIPTABLE NS_IMETHOD GetParentRule(nsIDOMCSSRule * *aParentRule) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParentRule(aParentRule); } 
     100                 : 
     101                 : #if 0
     102                 : /* Use the code below as a template for the implementation class for this interface. */
     103                 : 
     104                 : /* Header file */
     105                 : class nsDOMCSSStyleDeclaration : public nsIDOMCSSStyleDeclaration
     106                 : {
     107                 : public:
     108                 :   NS_DECL_ISUPPORTS
     109                 :   NS_DECL_NSIDOMCSSSTYLEDECLARATION
     110                 : 
     111                 :   nsDOMCSSStyleDeclaration();
     112                 : 
     113                 : private:
     114                 :   ~nsDOMCSSStyleDeclaration();
     115                 : 
     116                 : protected:
     117                 :   /* additional members */
     118                 : };
     119                 : 
     120                 : /* Implementation file */
     121                 : NS_IMPL_ISUPPORTS1(nsDOMCSSStyleDeclaration, nsIDOMCSSStyleDeclaration)
     122                 : 
     123                 : nsDOMCSSStyleDeclaration::nsDOMCSSStyleDeclaration()
     124                 : {
     125                 :   /* member initializers and constructor code */
     126                 : }
     127                 : 
     128                 : nsDOMCSSStyleDeclaration::~nsDOMCSSStyleDeclaration()
     129                 : {
     130                 :   /* destructor code */
     131                 : }
     132                 : 
     133                 : /* attribute DOMString cssText; */
     134                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetCssText(nsAString & aCssText)
     135                 : {
     136                 :     return NS_ERROR_NOT_IMPLEMENTED;
     137                 : }
     138                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::SetCssText(const nsAString & aCssText)
     139                 : {
     140                 :     return NS_ERROR_NOT_IMPLEMENTED;
     141                 : }
     142                 : 
     143                 : /* DOMString getPropertyValue (in DOMString propertyName); */
     144                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetPropertyValue(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM)
     145                 : {
     146                 :     return NS_ERROR_NOT_IMPLEMENTED;
     147                 : }
     148                 : 
     149                 : /* nsIDOMCSSValue getPropertyCSSValue (in DOMString propertyName); */
     150                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetPropertyCSSValue(const nsAString & propertyName, nsIDOMCSSValue * *_retval NS_OUTPARAM)
     151                 : {
     152                 :     return NS_ERROR_NOT_IMPLEMENTED;
     153                 : }
     154                 : 
     155                 : /* DOMString removeProperty (in DOMString propertyName) raises (DOMException); */
     156                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::RemoveProperty(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM)
     157                 : {
     158                 :     return NS_ERROR_NOT_IMPLEMENTED;
     159                 : }
     160                 : 
     161                 : /* DOMString getPropertyPriority (in DOMString propertyName); */
     162                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetPropertyPriority(const nsAString & propertyName, nsAString & _retval NS_OUTPARAM)
     163                 : {
     164                 :     return NS_ERROR_NOT_IMPLEMENTED;
     165                 : }
     166                 : 
     167                 : /* void setProperty (in DOMString propertyName, in DOMString value, [optional] in DOMString priority) raises (DOMException); */
     168                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::SetProperty(const nsAString & propertyName, const nsAString & value, const nsAString & priority)
     169                 : {
     170                 :     return NS_ERROR_NOT_IMPLEMENTED;
     171                 : }
     172                 : 
     173                 : /* readonly attribute unsigned long length; */
     174                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetLength(PRUint32 *aLength)
     175                 : {
     176                 :     return NS_ERROR_NOT_IMPLEMENTED;
     177                 : }
     178                 : 
     179                 : /* DOMString item (in unsigned long index); */
     180                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::Item(PRUint32 index, nsAString & _retval NS_OUTPARAM)
     181                 : {
     182                 :     return NS_ERROR_NOT_IMPLEMENTED;
     183                 : }
     184                 : 
     185                 : /* readonly attribute nsIDOMCSSRule parentRule; */
     186                 : NS_IMETHODIMP nsDOMCSSStyleDeclaration::GetParentRule(nsIDOMCSSRule * *aParentRule)
     187                 : {
     188                 :     return NS_ERROR_NOT_IMPLEMENTED;
     189                 : }
     190                 : 
     191                 : /* End of implementation class template. */
     192                 : #endif
     193                 : 
     194                 : 
     195                 : #endif /* __gen_nsIDOMCSSStyleDeclaration_h__ */

Generated by: LCOV version 1.7