LCOV - code coverage report
Current view: directory - objdir/dist/include - nsIDOMCSSPrimitiveValue.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/nsIDOMCSSPrimitiveValue.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsIDOMCSSPrimitiveValue_h__
       6                 : #define __gen_nsIDOMCSSPrimitiveValue_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsIDOMCSSValue_h__
      10                 : #include "nsIDOMCSSValue.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:    nsIDOMCSSPrimitiveValue */
      19                 : #define NS_IDOMCSSPRIMITIVEVALUE_IID_STR "e249031f-8df9-4e7a-b644-18946dce0019"
      20                 : 
      21                 : #define NS_IDOMCSSPRIMITIVEVALUE_IID \
      22                 :   {0xe249031f, 0x8df9, 0x4e7a, \
      23                 :     { 0xb6, 0x44, 0x18, 0x94, 0x6d, 0xce, 0x00, 0x19 }}
      24                 : 
      25               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMCSSPrimitiveValue : public nsIDOMCSSValue {
      26                 :  public: 
      27                 : 
      28                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMCSSPRIMITIVEVALUE_IID)
      29                 : 
      30                 :   enum {
      31                 :     CSS_UNKNOWN = 0U,
      32                 :     CSS_NUMBER = 1U,
      33                 :     CSS_PERCENTAGE = 2U,
      34                 :     CSS_EMS = 3U,
      35                 :     CSS_EXS = 4U,
      36                 :     CSS_PX = 5U,
      37                 :     CSS_CM = 6U,
      38                 :     CSS_MM = 7U,
      39                 :     CSS_IN = 8U,
      40                 :     CSS_PT = 9U,
      41                 :     CSS_PC = 10U,
      42                 :     CSS_DEG = 11U,
      43                 :     CSS_RAD = 12U,
      44                 :     CSS_GRAD = 13U,
      45                 :     CSS_MS = 14U,
      46                 :     CSS_S = 15U,
      47                 :     CSS_HZ = 16U,
      48                 :     CSS_KHZ = 17U,
      49                 :     CSS_DIMENSION = 18U,
      50                 :     CSS_STRING = 19U,
      51                 :     CSS_URI = 20U,
      52                 :     CSS_IDENT = 21U,
      53                 :     CSS_ATTR = 22U,
      54                 :     CSS_COUNTER = 23U,
      55                 :     CSS_RECT = 24U,
      56                 :     CSS_RGBCOLOR = 25U
      57                 :   };
      58                 : 
      59                 :   /* readonly attribute unsigned short primitiveType; */
      60                 :   NS_SCRIPTABLE NS_IMETHOD GetPrimitiveType(PRUint16 *aPrimitiveType) = 0;
      61                 : 
      62                 :   /* void setFloatValue (in unsigned short unitType, in float floatValue) raises (DOMException); */
      63                 :   NS_SCRIPTABLE NS_IMETHOD SetFloatValue(PRUint16 unitType, float floatValue) = 0;
      64                 : 
      65                 :   /* float getFloatValue (in unsigned short unitType) raises (DOMException); */
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetFloatValue(PRUint16 unitType, float *_retval NS_OUTPARAM) = 0;
      67                 : 
      68                 :   /* void setStringValue (in unsigned short stringType, in DOMString stringValue) raises (DOMException); */
      69                 :   NS_SCRIPTABLE NS_IMETHOD SetStringValue(PRUint16 stringType, const nsAString & stringValue) = 0;
      70                 : 
      71                 :   /* DOMString getStringValue () raises (DOMException); */
      72                 :   NS_SCRIPTABLE NS_IMETHOD GetStringValue(nsAString & _retval NS_OUTPARAM) = 0;
      73                 : 
      74                 :   /* nsIDOMCounter getCounterValue () raises (DOMException); */
      75                 :   NS_SCRIPTABLE NS_IMETHOD GetCounterValue(nsIDOMCounter * *_retval NS_OUTPARAM) = 0;
      76                 : 
      77                 :   /* nsIDOMRect getRectValue () raises (DOMException); */
      78                 :   NS_SCRIPTABLE NS_IMETHOD GetRectValue(nsIDOMRect * *_retval NS_OUTPARAM) = 0;
      79                 : 
      80                 :   /* nsIDOMRGBColor getRGBColorValue () raises (DOMException); */
      81                 :   NS_SCRIPTABLE NS_IMETHOD GetRGBColorValue(nsIDOMRGBColor * *_retval NS_OUTPARAM) = 0;
      82                 : 
      83                 : };
      84                 : 
      85                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMCSSPrimitiveValue, NS_IDOMCSSPRIMITIVEVALUE_IID)
      86                 : 
      87                 : /* Use this macro when declaring classes that implement this interface. */
      88                 : #define NS_DECL_NSIDOMCSSPRIMITIVEVALUE \
      89                 :   NS_SCRIPTABLE NS_IMETHOD GetPrimitiveType(PRUint16 *aPrimitiveType); \
      90                 :   NS_SCRIPTABLE NS_IMETHOD SetFloatValue(PRUint16 unitType, float floatValue); \
      91                 :   NS_SCRIPTABLE NS_IMETHOD GetFloatValue(PRUint16 unitType, float *_retval NS_OUTPARAM); \
      92                 :   NS_SCRIPTABLE NS_IMETHOD SetStringValue(PRUint16 stringType, const nsAString & stringValue); \
      93                 :   NS_SCRIPTABLE NS_IMETHOD GetStringValue(nsAString & _retval NS_OUTPARAM); \
      94                 :   NS_SCRIPTABLE NS_IMETHOD GetCounterValue(nsIDOMCounter * *_retval NS_OUTPARAM); \
      95                 :   NS_SCRIPTABLE NS_IMETHOD GetRectValue(nsIDOMRect * *_retval NS_OUTPARAM); \
      96                 :   NS_SCRIPTABLE NS_IMETHOD GetRGBColorValue(nsIDOMRGBColor * *_retval NS_OUTPARAM); 
      97                 : 
      98                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      99                 : #define NS_FORWARD_NSIDOMCSSPRIMITIVEVALUE(_to) \
     100                 :   NS_SCRIPTABLE NS_IMETHOD GetPrimitiveType(PRUint16 *aPrimitiveType) { return _to GetPrimitiveType(aPrimitiveType); } \
     101                 :   NS_SCRIPTABLE NS_IMETHOD SetFloatValue(PRUint16 unitType, float floatValue) { return _to SetFloatValue(unitType, floatValue); } \
     102                 :   NS_SCRIPTABLE NS_IMETHOD GetFloatValue(PRUint16 unitType, float *_retval NS_OUTPARAM) { return _to GetFloatValue(unitType, _retval); } \
     103                 :   NS_SCRIPTABLE NS_IMETHOD SetStringValue(PRUint16 stringType, const nsAString & stringValue) { return _to SetStringValue(stringType, stringValue); } \
     104                 :   NS_SCRIPTABLE NS_IMETHOD GetStringValue(nsAString & _retval NS_OUTPARAM) { return _to GetStringValue(_retval); } \
     105                 :   NS_SCRIPTABLE NS_IMETHOD GetCounterValue(nsIDOMCounter * *_retval NS_OUTPARAM) { return _to GetCounterValue(_retval); } \
     106                 :   NS_SCRIPTABLE NS_IMETHOD GetRectValue(nsIDOMRect * *_retval NS_OUTPARAM) { return _to GetRectValue(_retval); } \
     107                 :   NS_SCRIPTABLE NS_IMETHOD GetRGBColorValue(nsIDOMRGBColor * *_retval NS_OUTPARAM) { return _to GetRGBColorValue(_retval); } 
     108                 : 
     109                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     110                 : #define NS_FORWARD_SAFE_NSIDOMCSSPRIMITIVEVALUE(_to) \
     111                 :   NS_SCRIPTABLE NS_IMETHOD GetPrimitiveType(PRUint16 *aPrimitiveType) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPrimitiveType(aPrimitiveType); } \
     112                 :   NS_SCRIPTABLE NS_IMETHOD SetFloatValue(PRUint16 unitType, float floatValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetFloatValue(unitType, floatValue); } \
     113                 :   NS_SCRIPTABLE NS_IMETHOD GetFloatValue(PRUint16 unitType, float *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFloatValue(unitType, _retval); } \
     114                 :   NS_SCRIPTABLE NS_IMETHOD SetStringValue(PRUint16 stringType, const nsAString & stringValue) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStringValue(stringType, stringValue); } \
     115                 :   NS_SCRIPTABLE NS_IMETHOD GetStringValue(nsAString & _retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStringValue(_retval); } \
     116                 :   NS_SCRIPTABLE NS_IMETHOD GetCounterValue(nsIDOMCounter * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCounterValue(_retval); } \
     117                 :   NS_SCRIPTABLE NS_IMETHOD GetRectValue(nsIDOMRect * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRectValue(_retval); } \
     118                 :   NS_SCRIPTABLE NS_IMETHOD GetRGBColorValue(nsIDOMRGBColor * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRGBColorValue(_retval); } 
     119                 : 
     120                 : #if 0
     121                 : /* Use the code below as a template for the implementation class for this interface. */
     122                 : 
     123                 : /* Header file */
     124                 : class nsDOMCSSPrimitiveValue : public nsIDOMCSSPrimitiveValue
     125                 : {
     126                 : public:
     127                 :   NS_DECL_ISUPPORTS
     128                 :   NS_DECL_NSIDOMCSSPRIMITIVEVALUE
     129                 : 
     130                 :   nsDOMCSSPrimitiveValue();
     131                 : 
     132                 : private:
     133                 :   ~nsDOMCSSPrimitiveValue();
     134                 : 
     135                 : protected:
     136                 :   /* additional members */
     137                 : };
     138                 : 
     139                 : /* Implementation file */
     140                 : NS_IMPL_ISUPPORTS1(nsDOMCSSPrimitiveValue, nsIDOMCSSPrimitiveValue)
     141                 : 
     142                 : nsDOMCSSPrimitiveValue::nsDOMCSSPrimitiveValue()
     143                 : {
     144                 :   /* member initializers and constructor code */
     145                 : }
     146                 : 
     147                 : nsDOMCSSPrimitiveValue::~nsDOMCSSPrimitiveValue()
     148                 : {
     149                 :   /* destructor code */
     150                 : }
     151                 : 
     152                 : /* readonly attribute unsigned short primitiveType; */
     153                 : NS_IMETHODIMP nsDOMCSSPrimitiveValue::GetPrimitiveType(PRUint16 *aPrimitiveType)
     154                 : {
     155                 :     return NS_ERROR_NOT_IMPLEMENTED;
     156                 : }
     157                 : 
     158                 : /* void setFloatValue (in unsigned short unitType, in float floatValue) raises (DOMException); */
     159                 : NS_IMETHODIMP nsDOMCSSPrimitiveValue::SetFloatValue(PRUint16 unitType, float floatValue)
     160                 : {
     161                 :     return NS_ERROR_NOT_IMPLEMENTED;
     162                 : }
     163                 : 
     164                 : /* float getFloatValue (in unsigned short unitType) raises (DOMException); */
     165                 : NS_IMETHODIMP nsDOMCSSPrimitiveValue::GetFloatValue(PRUint16 unitType, float *_retval NS_OUTPARAM)
     166                 : {
     167                 :     return NS_ERROR_NOT_IMPLEMENTED;
     168                 : }
     169                 : 
     170                 : /* void setStringValue (in unsigned short stringType, in DOMString stringValue) raises (DOMException); */
     171                 : NS_IMETHODIMP nsDOMCSSPrimitiveValue::SetStringValue(PRUint16 stringType, const nsAString & stringValue)
     172                 : {
     173                 :     return NS_ERROR_NOT_IMPLEMENTED;
     174                 : }
     175                 : 
     176                 : /* DOMString getStringValue () raises (DOMException); */
     177                 : NS_IMETHODIMP nsDOMCSSPrimitiveValue::GetStringValue(nsAString & _retval NS_OUTPARAM)
     178                 : {
     179                 :     return NS_ERROR_NOT_IMPLEMENTED;
     180                 : }
     181                 : 
     182                 : /* nsIDOMCounter getCounterValue () raises (DOMException); */
     183                 : NS_IMETHODIMP nsDOMCSSPrimitiveValue::GetCounterValue(nsIDOMCounter * *_retval NS_OUTPARAM)
     184                 : {
     185                 :     return NS_ERROR_NOT_IMPLEMENTED;
     186                 : }
     187                 : 
     188                 : /* nsIDOMRect getRectValue () raises (DOMException); */
     189                 : NS_IMETHODIMP nsDOMCSSPrimitiveValue::GetRectValue(nsIDOMRect * *_retval NS_OUTPARAM)
     190                 : {
     191                 :     return NS_ERROR_NOT_IMPLEMENTED;
     192                 : }
     193                 : 
     194                 : /* nsIDOMRGBColor getRGBColorValue () raises (DOMException); */
     195                 : NS_IMETHODIMP nsDOMCSSPrimitiveValue::GetRGBColorValue(nsIDOMRGBColor * *_retval NS_OUTPARAM)
     196                 : {
     197                 :     return NS_ERROR_NOT_IMPLEMENTED;
     198                 : }
     199                 : 
     200                 : /* End of implementation class template. */
     201                 : #endif
     202                 : 
     203                 : 
     204                 : #endif /* __gen_nsIDOMCSSPrimitiveValue_h__ */

Generated by: LCOV version 1.7