LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/dist/include - nsIDOMFontFace.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/nsIDOMFontFace.idl
       3             :  */
       4             : 
       5             : #ifndef __gen_nsIDOMFontFace_h__
       6             : #define __gen_nsIDOMFontFace_h__
       7             : 
       8             : 
       9             : #ifndef __gen_nsISupports_h__
      10             : #include "nsISupports.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             : class nsIDOMCSSFontFaceRule; /* forward declaration */
      18             : 
      19             : class nsIDOMCSSStyleDeclaration; /* forward declaration */
      20             : 
      21             : 
      22             : /* starting interface:    nsIDOMFontFace */
      23             : #define NS_IDOMFONTFACE_IID_STR "9a3b1272-6585-4f41-b08f-fdc5da444cd0"
      24             : 
      25             : #define NS_IDOMFONTFACE_IID \
      26             :   {0x9a3b1272, 0x6585, 0x4f41, \
      27             :     { 0xb0, 0x8f, 0xfd, 0xc5, 0xda, 0x44, 0x4c, 0xd0 }}
      28             : 
      29           0 : class NS_NO_VTABLE nsIDOMFontFace : public nsISupports {
      30             :  public:
      31             : 
      32             :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMFONTFACE_IID)
      33             : 
      34             :   /* readonly attribute boolean fromFontGroup; */
      35             :   NS_IMETHOD GetFromFontGroup(bool *aFromFontGroup) = 0;
      36             : 
      37             :   /* readonly attribute boolean fromLanguagePrefs; */
      38             :   NS_IMETHOD GetFromLanguagePrefs(bool *aFromLanguagePrefs) = 0;
      39             : 
      40             :   /* readonly attribute boolean fromSystemFallback; */
      41             :   NS_IMETHOD GetFromSystemFallback(bool *aFromSystemFallback) = 0;
      42             : 
      43             :   /* readonly attribute DOMString name; */
      44             :   NS_IMETHOD GetName(nsAString & aName) = 0;
      45             : 
      46             :   /* readonly attribute DOMString CSSFamilyName; */
      47             :   NS_IMETHOD GetCSSFamilyName(nsAString & aCSSFamilyName) = 0;
      48             : 
      49             :   /* readonly attribute nsIDOMCSSFontFaceRule rule; */
      50             :   NS_IMETHOD GetRule(nsIDOMCSSFontFaceRule * *aRule) = 0;
      51             : 
      52             :   /* readonly attribute long srcIndex; */
      53             :   NS_IMETHOD GetSrcIndex(int32_t *aSrcIndex) = 0;
      54             : 
      55             :   /* readonly attribute DOMString URI; */
      56             :   NS_IMETHOD GetURI(nsAString & aURI) = 0;
      57             : 
      58             :   /* readonly attribute DOMString localName; */
      59             :   NS_IMETHOD GetLocalName(nsAString & aLocalName) = 0;
      60             : 
      61             :   /* readonly attribute DOMString format; */
      62             :   NS_IMETHOD GetFormat(nsAString & aFormat) = 0;
      63             : 
      64             :   /* readonly attribute DOMString metadata; */
      65             :   NS_IMETHOD GetMetadata(nsAString & aMetadata) = 0;
      66             : 
      67             : };
      68             : 
      69             :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMFontFace, NS_IDOMFONTFACE_IID)
      70             : 
      71             : /* Use this macro when declaring classes that implement this interface. */
      72             : #define NS_DECL_NSIDOMFONTFACE \
      73             :   NS_IMETHOD GetFromFontGroup(bool *aFromFontGroup) override; \
      74             :   NS_IMETHOD GetFromLanguagePrefs(bool *aFromLanguagePrefs) override; \
      75             :   NS_IMETHOD GetFromSystemFallback(bool *aFromSystemFallback) override; \
      76             :   NS_IMETHOD GetName(nsAString & aName) override; \
      77             :   NS_IMETHOD GetCSSFamilyName(nsAString & aCSSFamilyName) override; \
      78             :   NS_IMETHOD GetRule(nsIDOMCSSFontFaceRule * *aRule) override; \
      79             :   NS_IMETHOD GetSrcIndex(int32_t *aSrcIndex) override; \
      80             :   NS_IMETHOD GetURI(nsAString & aURI) override; \
      81             :   NS_IMETHOD GetLocalName(nsAString & aLocalName) override; \
      82             :   NS_IMETHOD GetFormat(nsAString & aFormat) override; \
      83             :   NS_IMETHOD GetMetadata(nsAString & aMetadata) override; 
      84             : 
      85             : /* Use this macro when declaring the members of this interface when the
      86             :    class doesn't implement the interface. This is useful for forwarding. */
      87             : #define NS_DECL_NON_VIRTUAL_NSIDOMFONTFACE \
      88             :   nsresult GetFromFontGroup(bool *aFromFontGroup); \
      89             :   nsresult GetFromLanguagePrefs(bool *aFromLanguagePrefs); \
      90             :   nsresult GetFromSystemFallback(bool *aFromSystemFallback); \
      91             :   nsresult GetName(nsAString & aName); \
      92             :   nsresult GetCSSFamilyName(nsAString & aCSSFamilyName); \
      93             :   nsresult GetRule(nsIDOMCSSFontFaceRule * *aRule); \
      94             :   nsresult GetSrcIndex(int32_t *aSrcIndex); \
      95             :   nsresult GetURI(nsAString & aURI); \
      96             :   nsresult GetLocalName(nsAString & aLocalName); \
      97             :   nsresult GetFormat(nsAString & aFormat); \
      98             :   nsresult GetMetadata(nsAString & aMetadata); 
      99             : 
     100             : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
     101             : #define NS_FORWARD_NSIDOMFONTFACE(_to) \
     102             :   NS_IMETHOD GetFromFontGroup(bool *aFromFontGroup) override { return _to GetFromFontGroup(aFromFontGroup); } \
     103             :   NS_IMETHOD GetFromLanguagePrefs(bool *aFromLanguagePrefs) override { return _to GetFromLanguagePrefs(aFromLanguagePrefs); } \
     104             :   NS_IMETHOD GetFromSystemFallback(bool *aFromSystemFallback) override { return _to GetFromSystemFallback(aFromSystemFallback); } \
     105             :   NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
     106             :   NS_IMETHOD GetCSSFamilyName(nsAString & aCSSFamilyName) override { return _to GetCSSFamilyName(aCSSFamilyName); } \
     107             :   NS_IMETHOD GetRule(nsIDOMCSSFontFaceRule * *aRule) override { return _to GetRule(aRule); } \
     108             :   NS_IMETHOD GetSrcIndex(int32_t *aSrcIndex) override { return _to GetSrcIndex(aSrcIndex); } \
     109             :   NS_IMETHOD GetURI(nsAString & aURI) override { return _to GetURI(aURI); } \
     110             :   NS_IMETHOD GetLocalName(nsAString & aLocalName) override { return _to GetLocalName(aLocalName); } \
     111             :   NS_IMETHOD GetFormat(nsAString & aFormat) override { return _to GetFormat(aFormat); } \
     112             :   NS_IMETHOD GetMetadata(nsAString & aMetadata) override { return _to GetMetadata(aMetadata); } 
     113             : 
     114             : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
     115             : #define NS_FORWARD_SAFE_NSIDOMFONTFACE(_to) \
     116             :   NS_IMETHOD GetFromFontGroup(bool *aFromFontGroup) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFromFontGroup(aFromFontGroup); } \
     117             :   NS_IMETHOD GetFromLanguagePrefs(bool *aFromLanguagePrefs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFromLanguagePrefs(aFromLanguagePrefs); } \
     118             :   NS_IMETHOD GetFromSystemFallback(bool *aFromSystemFallback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFromSystemFallback(aFromSystemFallback); } \
     119             :   NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
     120             :   NS_IMETHOD GetCSSFamilyName(nsAString & aCSSFamilyName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCSSFamilyName(aCSSFamilyName); } \
     121             :   NS_IMETHOD GetRule(nsIDOMCSSFontFaceRule * *aRule) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRule(aRule); } \
     122             :   NS_IMETHOD GetSrcIndex(int32_t *aSrcIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrcIndex(aSrcIndex); } \
     123             :   NS_IMETHOD GetURI(nsAString & aURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURI(aURI); } \
     124             :   NS_IMETHOD GetLocalName(nsAString & aLocalName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalName(aLocalName); } \
     125             :   NS_IMETHOD GetFormat(nsAString & aFormat) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFormat(aFormat); } \
     126             :   NS_IMETHOD GetMetadata(nsAString & aMetadata) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMetadata(aMetadata); } 
     127             : 
     128             : #if 0
     129             : /* Use the code below as a template for the implementation class for this interface. */
     130             : 
     131             : /* Header file */
     132             : class nsDOMFontFace : public nsIDOMFontFace
     133             : {
     134             : public:
     135             :   NS_DECL_ISUPPORTS
     136             :   NS_DECL_NSIDOMFONTFACE
     137             : 
     138             :   nsDOMFontFace();
     139             : 
     140             : private:
     141             :   ~nsDOMFontFace();
     142             : 
     143             : protected:
     144             :   /* additional members */
     145             : };
     146             : 
     147             : /* Implementation file */
     148             : NS_IMPL_ISUPPORTS(nsDOMFontFace, nsIDOMFontFace)
     149             : 
     150             : nsDOMFontFace::nsDOMFontFace()
     151             : {
     152             :   /* member initializers and constructor code */
     153             : }
     154             : 
     155             : nsDOMFontFace::~nsDOMFontFace()
     156             : {
     157             :   /* destructor code */
     158             : }
     159             : 
     160             : /* readonly attribute boolean fromFontGroup; */
     161             : NS_IMETHODIMP nsDOMFontFace::GetFromFontGroup(bool *aFromFontGroup)
     162             : {
     163             :     return NS_ERROR_NOT_IMPLEMENTED;
     164             : }
     165             : 
     166             : /* readonly attribute boolean fromLanguagePrefs; */
     167             : NS_IMETHODIMP nsDOMFontFace::GetFromLanguagePrefs(bool *aFromLanguagePrefs)
     168             : {
     169             :     return NS_ERROR_NOT_IMPLEMENTED;
     170             : }
     171             : 
     172             : /* readonly attribute boolean fromSystemFallback; */
     173             : NS_IMETHODIMP nsDOMFontFace::GetFromSystemFallback(bool *aFromSystemFallback)
     174             : {
     175             :     return NS_ERROR_NOT_IMPLEMENTED;
     176             : }
     177             : 
     178             : /* readonly attribute DOMString name; */
     179             : NS_IMETHODIMP nsDOMFontFace::GetName(nsAString & aName)
     180             : {
     181             :     return NS_ERROR_NOT_IMPLEMENTED;
     182             : }
     183             : 
     184             : /* readonly attribute DOMString CSSFamilyName; */
     185             : NS_IMETHODIMP nsDOMFontFace::GetCSSFamilyName(nsAString & aCSSFamilyName)
     186             : {
     187             :     return NS_ERROR_NOT_IMPLEMENTED;
     188             : }
     189             : 
     190             : /* readonly attribute nsIDOMCSSFontFaceRule rule; */
     191             : NS_IMETHODIMP nsDOMFontFace::GetRule(nsIDOMCSSFontFaceRule * *aRule)
     192             : {
     193             :     return NS_ERROR_NOT_IMPLEMENTED;
     194             : }
     195             : 
     196             : /* readonly attribute long srcIndex; */
     197             : NS_IMETHODIMP nsDOMFontFace::GetSrcIndex(int32_t *aSrcIndex)
     198             : {
     199             :     return NS_ERROR_NOT_IMPLEMENTED;
     200             : }
     201             : 
     202             : /* readonly attribute DOMString URI; */
     203             : NS_IMETHODIMP nsDOMFontFace::GetURI(nsAString & aURI)
     204             : {
     205             :     return NS_ERROR_NOT_IMPLEMENTED;
     206             : }
     207             : 
     208             : /* readonly attribute DOMString localName; */
     209             : NS_IMETHODIMP nsDOMFontFace::GetLocalName(nsAString & aLocalName)
     210             : {
     211             :     return NS_ERROR_NOT_IMPLEMENTED;
     212             : }
     213             : 
     214             : /* readonly attribute DOMString format; */
     215             : NS_IMETHODIMP nsDOMFontFace::GetFormat(nsAString & aFormat)
     216             : {
     217             :     return NS_ERROR_NOT_IMPLEMENTED;
     218             : }
     219             : 
     220             : /* readonly attribute DOMString metadata; */
     221             : NS_IMETHODIMP nsDOMFontFace::GetMetadata(nsAString & aMetadata)
     222             : {
     223             :     return NS_ERROR_NOT_IMPLEMENTED;
     224             : }
     225             : 
     226             : /* End of implementation class template. */
     227             : #endif
     228             : 
     229             : 
     230             : #endif /* __gen_nsIDOMFontFace_h__ */

Generated by: LCOV version 1.13