LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMCSSValue.h (source / functions) Hit Total Coverage
Test: output.info Lines: 1 1 100.0 %
Date: 2017-07-14 16:53:18 Functions: 1 1 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/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          16 : class NS_NO_VTABLE 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_IMETHOD GetCssText(nsAString & aCssText) = 0;
      39             :   NS_IMETHOD SetCssText(const nsAString & aCssText) = 0;
      40             : 
      41             :   /* readonly attribute unsigned short cssValueType; */
      42             :   NS_IMETHOD GetCssValueType(uint16_t *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_IMETHOD GetCssText(nsAString & aCssText) override; \
      51             :   NS_IMETHOD SetCssText(const nsAString & aCssText) override; \
      52             :   NS_IMETHOD GetCssValueType(uint16_t *aCssValueType) override; 
      53             : 
      54             : /* Use this macro when declaring the members of this interface when the
      55             :    class doesn't implement the interface. This is useful for forwarding. */
      56             : #define NS_DECL_NON_VIRTUAL_NSIDOMCSSVALUE \
      57             :   nsresult GetCssText(nsAString & aCssText); \
      58             :   nsresult SetCssText(const nsAString & aCssText); \
      59             :   nsresult GetCssValueType(uint16_t *aCssValueType); 
      60             : 
      61             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      62             : #define NS_FORWARD_NSIDOMCSSVALUE(_to) \
      63             :   NS_IMETHOD GetCssText(nsAString & aCssText) override { return _to GetCssText(aCssText); } \
      64             :   NS_IMETHOD SetCssText(const nsAString & aCssText) override { return _to SetCssText(aCssText); } \
      65             :   NS_IMETHOD GetCssValueType(uint16_t *aCssValueType) override { return _to GetCssValueType(aCssValueType); } 
      66             : 
      67             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      68             : #define NS_FORWARD_SAFE_NSIDOMCSSVALUE(_to) \
      69             :   NS_IMETHOD GetCssText(nsAString & aCssText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssText(aCssText); } \
      70             :   NS_IMETHOD SetCssText(const nsAString & aCssText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCssText(aCssText); } \
      71             :   NS_IMETHOD GetCssValueType(uint16_t *aCssValueType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCssValueType(aCssValueType); } 
      72             : 
      73             : #if 0
      74             : /* Use the code below as a template for the implementation class for this interface. */
      75             : 
      76             : /* Header file */
      77             : class nsDOMCSSValue : public nsIDOMCSSValue
      78             : {
      79             : public:
      80             :   NS_DECL_ISUPPORTS
      81             :   NS_DECL_NSIDOMCSSVALUE
      82             : 
      83             :   nsDOMCSSValue();
      84             : 
      85             : private:
      86             :   ~nsDOMCSSValue();
      87             : 
      88             : protected:
      89             :   /* additional members */
      90             : };
      91             : 
      92             : /* Implementation file */
      93             : NS_IMPL_ISUPPORTS(nsDOMCSSValue, nsIDOMCSSValue)
      94             : 
      95             : nsDOMCSSValue::nsDOMCSSValue()
      96             : {
      97             :   /* member initializers and constructor code */
      98             : }
      99             : 
     100             : nsDOMCSSValue::~nsDOMCSSValue()
     101             : {
     102             :   /* destructor code */
     103             : }
     104             : 
     105             : /* attribute DOMString cssText; */
     106             : NS_IMETHODIMP nsDOMCSSValue::GetCssText(nsAString & aCssText)
     107             : {
     108             :     return NS_ERROR_NOT_IMPLEMENTED;
     109             : }
     110             : NS_IMETHODIMP nsDOMCSSValue::SetCssText(const nsAString & aCssText)
     111             : {
     112             :     return NS_ERROR_NOT_IMPLEMENTED;
     113             : }
     114             : 
     115             : /* readonly attribute unsigned short cssValueType; */
     116             : NS_IMETHODIMP nsDOMCSSValue::GetCssValueType(uint16_t *aCssValueType)
     117             : {
     118             :     return NS_ERROR_NOT_IMPLEMENTED;
     119             : }
     120             : 
     121             : /* End of implementation class template. */
     122             : #endif
     123             : 
     124             : 
     125             : #endif /* __gen_nsIDOMCSSValue_h__ */

Generated by: LCOV version 1.13