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

          Line data    Source code
       1             : /*
       2             :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMSVGLength.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMSVGLength_h__
       6             : #define __gen_nsIDOMSVGLength_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:    nsIDOMSVGLength */
      19             : #define NS_IDOMSVGLENGTH_IID_STR "2596325c-aed0-487e-96a1-0a6d589b9c6b"
      20             : 
      21             : #define NS_IDOMSVGLENGTH_IID \
      22             :   {0x2596325c, 0xaed0, 0x487e, \
      23             :     { 0x96, 0xa1, 0x0a, 0x6d, 0x58, 0x9b, 0x9c, 0x6b }}
      24             : 
      25           0 : class NS_NO_VTABLE nsIDOMSVGLength : public nsISupports {
      26             :  public:
      27             : 
      28             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGLENGTH_IID)
      29             : 
      30             :   enum {
      31             :     SVG_LENGTHTYPE_UNKNOWN = 0U,
      32             :     SVG_LENGTHTYPE_NUMBER = 1U,
      33             :     SVG_LENGTHTYPE_PERCENTAGE = 2U,
      34             :     SVG_LENGTHTYPE_EMS = 3U,
      35             :     SVG_LENGTHTYPE_EXS = 4U,
      36             :     SVG_LENGTHTYPE_PX = 5U,
      37             :     SVG_LENGTHTYPE_CM = 6U,
      38             :     SVG_LENGTHTYPE_MM = 7U,
      39             :     SVG_LENGTHTYPE_IN = 8U,
      40             :     SVG_LENGTHTYPE_PT = 9U,
      41             :     SVG_LENGTHTYPE_PC = 10U
      42             :   };
      43             : 
      44             :   /* readonly attribute unsigned short unitType; */
      45             :   NS_IMETHOD GetUnitType(uint16_t *aUnitType) = 0;
      46             : 
      47             :   /* attribute float value; */
      48             :   NS_IMETHOD GetValue(float *aValue) = 0;
      49             :   NS_IMETHOD SetValue(float aValue) = 0;
      50             : 
      51             :   /* attribute float valueInSpecifiedUnits; */
      52             :   NS_IMETHOD GetValueInSpecifiedUnits(float *aValueInSpecifiedUnits) = 0;
      53             :   NS_IMETHOD SetValueInSpecifiedUnits(float aValueInSpecifiedUnits) = 0;
      54             : 
      55             :   /* attribute DOMString valueAsString; */
      56             :   NS_IMETHOD GetValueAsString(nsAString & aValueAsString) = 0;
      57             :   NS_IMETHOD SetValueAsString(const nsAString & aValueAsString) = 0;
      58             : 
      59             :   /* void newValueSpecifiedUnits (in unsigned short unitType, in float valueInSpecifiedUnits); */
      60             :   NS_IMETHOD NewValueSpecifiedUnits(uint16_t unitType, float valueInSpecifiedUnits) = 0;
      61             : 
      62             :   /* void convertToSpecifiedUnits (in unsigned short unitType); */
      63             :   NS_IMETHOD ConvertToSpecifiedUnits(uint16_t unitType) = 0;
      64             : 
      65             : };
      66             : 
      67             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGLength, NS_IDOMSVGLENGTH_IID)
      68             : 
      69             : /* Use this macro when declaring classes that implement this interface. */
      70             : #define NS_DECL_NSIDOMSVGLENGTH \
      71             :   NS_IMETHOD GetUnitType(uint16_t *aUnitType) override; \
      72             :   NS_IMETHOD GetValue(float *aValue) override; \
      73             :   NS_IMETHOD SetValue(float aValue) override; \
      74             :   NS_IMETHOD GetValueInSpecifiedUnits(float *aValueInSpecifiedUnits) override; \
      75             :   NS_IMETHOD SetValueInSpecifiedUnits(float aValueInSpecifiedUnits) override; \
      76             :   NS_IMETHOD GetValueAsString(nsAString & aValueAsString) override; \
      77             :   NS_IMETHOD SetValueAsString(const nsAString & aValueAsString) override; \
      78             :   NS_IMETHOD NewValueSpecifiedUnits(uint16_t unitType, float valueInSpecifiedUnits) override; \
      79             :   NS_IMETHOD ConvertToSpecifiedUnits(uint16_t unitType) override; 
      80             : 
      81             : /* Use this macro when declaring the members of this interface when the
      82             :    class doesn't implement the interface. This is useful for forwarding. */
      83             : #define NS_DECL_NON_VIRTUAL_NSIDOMSVGLENGTH \
      84             :   nsresult GetUnitType(uint16_t *aUnitType); \
      85             :   nsresult GetValue(float *aValue); \
      86             :   nsresult SetValue(float aValue); \
      87             :   nsresult GetValueInSpecifiedUnits(float *aValueInSpecifiedUnits); \
      88             :   nsresult SetValueInSpecifiedUnits(float aValueInSpecifiedUnits); \
      89             :   nsresult GetValueAsString(nsAString & aValueAsString); \
      90             :   nsresult SetValueAsString(const nsAString & aValueAsString); \
      91             :   nsresult NewValueSpecifiedUnits(uint16_t unitType, float valueInSpecifiedUnits); \
      92             :   nsresult ConvertToSpecifiedUnits(uint16_t unitType); 
      93             : 
      94             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      95             : #define NS_FORWARD_NSIDOMSVGLENGTH(_to) \
      96             :   NS_IMETHOD GetUnitType(uint16_t *aUnitType) override { return _to GetUnitType(aUnitType); } \
      97             :   NS_IMETHOD GetValue(float *aValue) override { return _to GetValue(aValue); } \
      98             :   NS_IMETHOD SetValue(float aValue) override { return _to SetValue(aValue); } \
      99             :   NS_IMETHOD GetValueInSpecifiedUnits(float *aValueInSpecifiedUnits) override { return _to GetValueInSpecifiedUnits(aValueInSpecifiedUnits); } \
     100             :   NS_IMETHOD SetValueInSpecifiedUnits(float aValueInSpecifiedUnits) override { return _to SetValueInSpecifiedUnits(aValueInSpecifiedUnits); } \
     101             :   NS_IMETHOD GetValueAsString(nsAString & aValueAsString) override { return _to GetValueAsString(aValueAsString); } \
     102             :   NS_IMETHOD SetValueAsString(const nsAString & aValueAsString) override { return _to SetValueAsString(aValueAsString); } \
     103             :   NS_IMETHOD NewValueSpecifiedUnits(uint16_t unitType, float valueInSpecifiedUnits) override { return _to NewValueSpecifiedUnits(unitType, valueInSpecifiedUnits); } \
     104             :   NS_IMETHOD ConvertToSpecifiedUnits(uint16_t unitType) override { return _to ConvertToSpecifiedUnits(unitType); } 
     105             : 
     106             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     107             : #define NS_FORWARD_SAFE_NSIDOMSVGLENGTH(_to) \
     108             :   NS_IMETHOD GetUnitType(uint16_t *aUnitType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnitType(aUnitType); } \
     109             :   NS_IMETHOD GetValue(float *aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValue(aValue); } \
     110             :   NS_IMETHOD SetValue(float aValue) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValue(aValue); } \
     111             :   NS_IMETHOD GetValueInSpecifiedUnits(float *aValueInSpecifiedUnits) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueInSpecifiedUnits(aValueInSpecifiedUnits); } \
     112             :   NS_IMETHOD SetValueInSpecifiedUnits(float aValueInSpecifiedUnits) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueInSpecifiedUnits(aValueInSpecifiedUnits); } \
     113             :   NS_IMETHOD GetValueAsString(nsAString & aValueAsString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetValueAsString(aValueAsString); } \
     114             :   NS_IMETHOD SetValueAsString(const nsAString & aValueAsString) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetValueAsString(aValueAsString); } \
     115             :   NS_IMETHOD NewValueSpecifiedUnits(uint16_t unitType, float valueInSpecifiedUnits) override { return !_to ? NS_ERROR_NULL_POINTER : _to->NewValueSpecifiedUnits(unitType, valueInSpecifiedUnits); } \
     116             :   NS_IMETHOD ConvertToSpecifiedUnits(uint16_t unitType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ConvertToSpecifiedUnits(unitType); } 
     117             : 
     118             : #if 0
     119             : /* Use the code below as a template for the implementation class for this interface. */
     120             : 
     121             : /* Header file */
     122             : class nsDOMSVGLength : public nsIDOMSVGLength
     123             : {
     124             : public:
     125             :   NS_DECL_ISUPPORTS
     126             :   NS_DECL_NSIDOMSVGLENGTH
     127             : 
     128             :   nsDOMSVGLength();
     129             : 
     130             : private:
     131             :   ~nsDOMSVGLength();
     132             : 
     133             : protected:
     134             :   /* additional members */
     135             : };
     136             : 
     137             : /* Implementation file */
     138             : NS_IMPL_ISUPPORTS(nsDOMSVGLength, nsIDOMSVGLength)
     139             : 
     140             : nsDOMSVGLength::nsDOMSVGLength()
     141             : {
     142             :   /* member initializers and constructor code */
     143             : }
     144             : 
     145             : nsDOMSVGLength::~nsDOMSVGLength()
     146             : {
     147             :   /* destructor code */
     148             : }
     149             : 
     150             : /* readonly attribute unsigned short unitType; */
     151             : NS_IMETHODIMP nsDOMSVGLength::GetUnitType(uint16_t *aUnitType)
     152             : {
     153             :     return NS_ERROR_NOT_IMPLEMENTED;
     154             : }
     155             : 
     156             : /* attribute float value; */
     157             : NS_IMETHODIMP nsDOMSVGLength::GetValue(float *aValue)
     158             : {
     159             :     return NS_ERROR_NOT_IMPLEMENTED;
     160             : }
     161             : NS_IMETHODIMP nsDOMSVGLength::SetValue(float aValue)
     162             : {
     163             :     return NS_ERROR_NOT_IMPLEMENTED;
     164             : }
     165             : 
     166             : /* attribute float valueInSpecifiedUnits; */
     167             : NS_IMETHODIMP nsDOMSVGLength::GetValueInSpecifiedUnits(float *aValueInSpecifiedUnits)
     168             : {
     169             :     return NS_ERROR_NOT_IMPLEMENTED;
     170             : }
     171             : NS_IMETHODIMP nsDOMSVGLength::SetValueInSpecifiedUnits(float aValueInSpecifiedUnits)
     172             : {
     173             :     return NS_ERROR_NOT_IMPLEMENTED;
     174             : }
     175             : 
     176             : /* attribute DOMString valueAsString; */
     177             : NS_IMETHODIMP nsDOMSVGLength::GetValueAsString(nsAString & aValueAsString)
     178             : {
     179             :     return NS_ERROR_NOT_IMPLEMENTED;
     180             : }
     181             : NS_IMETHODIMP nsDOMSVGLength::SetValueAsString(const nsAString & aValueAsString)
     182             : {
     183             :     return NS_ERROR_NOT_IMPLEMENTED;
     184             : }
     185             : 
     186             : /* void newValueSpecifiedUnits (in unsigned short unitType, in float valueInSpecifiedUnits); */
     187             : NS_IMETHODIMP nsDOMSVGLength::NewValueSpecifiedUnits(uint16_t unitType, float valueInSpecifiedUnits)
     188             : {
     189             :     return NS_ERROR_NOT_IMPLEMENTED;
     190             : }
     191             : 
     192             : /* void convertToSpecifiedUnits (in unsigned short unitType); */
     193             : NS_IMETHODIMP nsDOMSVGLength::ConvertToSpecifiedUnits(uint16_t unitType)
     194             : {
     195             :     return NS_ERROR_NOT_IMPLEMENTED;
     196             : }
     197             : 
     198             : /* End of implementation class template. */
     199             : #endif
     200             : 
     201             : 
     202             : #endif /* __gen_nsIDOMSVGLength_h__ */

Generated by: LCOV version 1.13