LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMCSSValue.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/nsIDOMCSSValue.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMCSSValue_h__
       6                 : #define __gen_nsIDOMCSSValue_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:    nsIDOMCSSValue */
      19                 : #define NS_IDOMCSSVALUE_IID_STR "009f7ea5-9e80-41be-b008-db62f10823f2"
      20                 : 
      21                 : #define NS_IDOMCSSVALUE_IID \
      22                 :   {0x009f7ea5, 0x9e80, 0x41be, \
      23                 :     { 0xb0, 0x08, 0xdb, 0x62, 0xf1, 0x08, 0x23, 0xf2 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMCSSValue : public nsISupports {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSVALUE_IID)
      29                 : 
      30                 :   enum {
      31                 :     CSS_INHERIT = 0U,
      32                 :     CSS_PRIMITIVE_VALUE = 1U,
      33                 :     CSS_VALUE_LIST = 2U,
      34                 :     CSS_CUSTOM = 3U
      35                 :   };
      36                 : 
      37                 :   /* attribute DOMString cssText; */
      38                 :   NS_SCRIPTABLE NS_IMETHOD GetCssText(nsAString & aCssText) = 0;
      39                 :   NS_SCRIPTABLE NS_IMETHOD SetCssText(const nsAString & aCssText) = 0;
      40                 : 
      41                 :   /* readonly attribute unsigned short cssValueType; */
      42                 :   NS_SCRIPTABLE NS_IMETHOD GetCssValueType(PRUint16 *aCssValueType) = 0;
      43                 : 
      44                 : };
      45                 : 
      46                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSValue, NS_IDOMCSSVALUE_IID)
      47                 : 
      48                 : /* Use this macro when declaring classes that implement this interface. */
      49                 : #define NS_DECL_NSIDOMCSSVALUE \
      50                 :   NS_SCRIPTABLE NS_IMETHOD GetCssText(nsAString & aCssText); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD SetCssText(const nsAString & aCssText); \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetCssValueType(PRUint16 *aCssValueType); 
      53                 : 
      54                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      55                 : #define NS_FORWARD_NSIDOMCSSVALUE(_to) \
      56                 :   NS_SCRIPTABLE NS_IMETHOD GetCssText(nsAString & aCssText) { return _to GetCssText(aCssText); } \
      57                 :   NS_SCRIPTABLE NS_IMETHOD SetCssText(const nsAString & aCssText) { return _to SetCssText(aCssText); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD GetCssValueType(PRUint16 *aCssValueType) { return _to GetCssValueType(aCssValueType); } 
      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_NSIDOMCSSVALUE(_to) \
      62                 :   NS_SCRIPTABLE NS_IMETHOD GetCssText(nsAString & aCssText) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssText(aCssText); } \
      63                 :   NS_SCRIPTABLE NS_IMETHOD SetCssText(const nsAString & aCssText) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCssText(aCssText); } \
      64                 :   NS_SCRIPTABLE NS_IMETHOD GetCssValueType(PRUint16 *aCssValueType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssValueType(aCssValueType); } 
      65                 : 
      66                 : #if 0
      67                 : /* Use the code below as a template for the implementation class for this interface. */
      68                 : 
      69                 : /* Header file */
      70                 : class nsDOMCSSValue : public nsIDOMCSSValue
      71                 : {
      72                 : public:
      73                 :   NS_DECL_ISUPPORTS
      74                 :   NS_DECL_NSIDOMCSSVALUE
      75                 : 
      76                 :   nsDOMCSSValue();
      77                 : 
      78                 : private:
      79                 :   ~nsDOMCSSValue();
      80                 : 
      81                 : protected:
      82                 :   /* additional members */
      83                 : };
      84                 : 
      85                 : /* Implementation file */
      86                 : NS_IMPL_ISUPPORTS1(nsDOMCSSValue, nsIDOMCSSValue)
      87                 : 
      88                 : nsDOMCSSValue::nsDOMCSSValue()
      89                 : {
      90                 :   /* member initializers and constructor code */
      91                 : }
      92                 : 
      93                 : nsDOMCSSValue::~nsDOMCSSValue()
      94                 : {
      95                 :   /* destructor code */
      96                 : }
      97                 : 
      98                 : /* attribute DOMString cssText; */
      99                 : NS_IMETHODIMP nsDOMCSSValue::GetCssText(nsAString & aCssText)
     100                 : {
     101                 :     return NS_ERROR_NOT_IMPLEMENTED;
     102                 : }
     103                 : NS_IMETHODIMP nsDOMCSSValue::SetCssText(const nsAString & aCssText)
     104                 : {
     105                 :     return NS_ERROR_NOT_IMPLEMENTED;
     106                 : }
     107                 : 
     108                 : /* readonly attribute unsigned short cssValueType; */
     109                 : NS_IMETHODIMP nsDOMCSSValue::GetCssValueType(PRUint16 *aCssValueType)
     110                 : {
     111                 :     return NS_ERROR_NOT_IMPLEMENTED;
     112                 : }
     113                 : 
     114                 : /* End of implementation class template. */
     115                 : #endif
     116                 : 
     117                 : 
     118                 : #endif /* __gen_nsIDOMCSSValue_h__ */

Generated by: LCOV version 1.7