/usr/include/firefox/nsIDOMFontFace.h is in firefox-dev 11.0+build1-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/layout/inspector/public/nsIDOMFontFace.idl
*/
#ifndef __gen_nsIDOMFontFace_h__
#define __gen_nsIDOMFontFace_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMCSSFontFaceRule; /* forward declaration */
class nsIDOMCSSStyleDeclaration; /* forward declaration */
/* starting interface: nsIDOMFontFace */
#define NS_IDOMFONTFACE_IID_STR "9a3b1272-6585-4f41-b08f-fdc5da444cd0"
#define NS_IDOMFONTFACE_IID \
{0x9a3b1272, 0x6585, 0x4f41, \
{ 0xb0, 0x8f, 0xfd, 0xc5, 0xda, 0x44, 0x4c, 0xd0 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMFontFace : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMFONTFACE_IID)
/* readonly attribute boolean fromFontGroup; */
NS_SCRIPTABLE NS_IMETHOD GetFromFontGroup(bool *aFromFontGroup) = 0;
/* readonly attribute boolean fromLanguagePrefs; */
NS_SCRIPTABLE NS_IMETHOD GetFromLanguagePrefs(bool *aFromLanguagePrefs) = 0;
/* readonly attribute boolean fromSystemFallback; */
NS_SCRIPTABLE NS_IMETHOD GetFromSystemFallback(bool *aFromSystemFallback) = 0;
/* readonly attribute DOMString name; */
NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) = 0;
/* readonly attribute DOMString CSSFamilyName; */
NS_SCRIPTABLE NS_IMETHOD GetCSSFamilyName(nsAString & aCSSFamilyName) = 0;
/* readonly attribute nsIDOMCSSFontFaceRule rule; */
NS_SCRIPTABLE NS_IMETHOD GetRule(nsIDOMCSSFontFaceRule * *aRule) = 0;
/* readonly attribute long srcIndex; */
NS_SCRIPTABLE NS_IMETHOD GetSrcIndex(PRInt32 *aSrcIndex) = 0;
/* readonly attribute DOMString URI; */
NS_SCRIPTABLE NS_IMETHOD GetURI(nsAString & aURI) = 0;
/* readonly attribute DOMString localName; */
NS_SCRIPTABLE NS_IMETHOD GetLocalName(nsAString & aLocalName) = 0;
/* readonly attribute DOMString format; */
NS_SCRIPTABLE NS_IMETHOD GetFormat(nsAString & aFormat) = 0;
/* readonly attribute DOMString metadata; */
NS_SCRIPTABLE NS_IMETHOD GetMetadata(nsAString & aMetadata) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMFontFace, NS_IDOMFONTFACE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMFONTFACE \
NS_SCRIPTABLE NS_IMETHOD GetFromFontGroup(bool *aFromFontGroup); \
NS_SCRIPTABLE NS_IMETHOD GetFromLanguagePrefs(bool *aFromLanguagePrefs); \
NS_SCRIPTABLE NS_IMETHOD GetFromSystemFallback(bool *aFromSystemFallback); \
NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName); \
NS_SCRIPTABLE NS_IMETHOD GetCSSFamilyName(nsAString & aCSSFamilyName); \
NS_SCRIPTABLE NS_IMETHOD GetRule(nsIDOMCSSFontFaceRule * *aRule); \
NS_SCRIPTABLE NS_IMETHOD GetSrcIndex(PRInt32 *aSrcIndex); \
NS_SCRIPTABLE NS_IMETHOD GetURI(nsAString & aURI); \
NS_SCRIPTABLE NS_IMETHOD GetLocalName(nsAString & aLocalName); \
NS_SCRIPTABLE NS_IMETHOD GetFormat(nsAString & aFormat); \
NS_SCRIPTABLE NS_IMETHOD GetMetadata(nsAString & aMetadata);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMFONTFACE(_to) \
NS_SCRIPTABLE NS_IMETHOD GetFromFontGroup(bool *aFromFontGroup) { return _to GetFromFontGroup(aFromFontGroup); } \
NS_SCRIPTABLE NS_IMETHOD GetFromLanguagePrefs(bool *aFromLanguagePrefs) { return _to GetFromLanguagePrefs(aFromLanguagePrefs); } \
NS_SCRIPTABLE NS_IMETHOD GetFromSystemFallback(bool *aFromSystemFallback) { return _to GetFromSystemFallback(aFromSystemFallback); } \
NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
NS_SCRIPTABLE NS_IMETHOD GetCSSFamilyName(nsAString & aCSSFamilyName) { return _to GetCSSFamilyName(aCSSFamilyName); } \
NS_SCRIPTABLE NS_IMETHOD GetRule(nsIDOMCSSFontFaceRule * *aRule) { return _to GetRule(aRule); } \
NS_SCRIPTABLE NS_IMETHOD GetSrcIndex(PRInt32 *aSrcIndex) { return _to GetSrcIndex(aSrcIndex); } \
NS_SCRIPTABLE NS_IMETHOD GetURI(nsAString & aURI) { return _to GetURI(aURI); } \
NS_SCRIPTABLE NS_IMETHOD GetLocalName(nsAString & aLocalName) { return _to GetLocalName(aLocalName); } \
NS_SCRIPTABLE NS_IMETHOD GetFormat(nsAString & aFormat) { return _to GetFormat(aFormat); } \
NS_SCRIPTABLE NS_IMETHOD GetMetadata(nsAString & aMetadata) { return _to GetMetadata(aMetadata); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMFONTFACE(_to) \
NS_SCRIPTABLE NS_IMETHOD GetFromFontGroup(bool *aFromFontGroup) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFromFontGroup(aFromFontGroup); } \
NS_SCRIPTABLE NS_IMETHOD GetFromLanguagePrefs(bool *aFromLanguagePrefs) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFromLanguagePrefs(aFromLanguagePrefs); } \
NS_SCRIPTABLE NS_IMETHOD GetFromSystemFallback(bool *aFromSystemFallback) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFromSystemFallback(aFromSystemFallback); } \
NS_SCRIPTABLE NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_SCRIPTABLE NS_IMETHOD GetCSSFamilyName(nsAString & aCSSFamilyName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCSSFamilyName(aCSSFamilyName); } \
NS_SCRIPTABLE NS_IMETHOD GetRule(nsIDOMCSSFontFaceRule * *aRule) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRule(aRule); } \
NS_SCRIPTABLE NS_IMETHOD GetSrcIndex(PRInt32 *aSrcIndex) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetSrcIndex(aSrcIndex); } \
NS_SCRIPTABLE NS_IMETHOD GetURI(nsAString & aURI) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetURI(aURI); } \
NS_SCRIPTABLE NS_IMETHOD GetLocalName(nsAString & aLocalName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalName(aLocalName); } \
NS_SCRIPTABLE NS_IMETHOD GetFormat(nsAString & aFormat) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFormat(aFormat); } \
NS_SCRIPTABLE NS_IMETHOD GetMetadata(nsAString & aMetadata) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMetadata(aMetadata); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMFontFace : public nsIDOMFontFace
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMFONTFACE
nsDOMFontFace();
private:
~nsDOMFontFace();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMFontFace, nsIDOMFontFace)
nsDOMFontFace::nsDOMFontFace()
{
/* member initializers and constructor code */
}
nsDOMFontFace::~nsDOMFontFace()
{
/* destructor code */
}
/* readonly attribute boolean fromFontGroup; */
NS_IMETHODIMP nsDOMFontFace::GetFromFontGroup(bool *aFromFontGroup)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean fromLanguagePrefs; */
NS_IMETHODIMP nsDOMFontFace::GetFromLanguagePrefs(bool *aFromLanguagePrefs)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean fromSystemFallback; */
NS_IMETHODIMP nsDOMFontFace::GetFromSystemFallback(bool *aFromSystemFallback)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString name; */
NS_IMETHODIMP nsDOMFontFace::GetName(nsAString & aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString CSSFamilyName; */
NS_IMETHODIMP nsDOMFontFace::GetCSSFamilyName(nsAString & aCSSFamilyName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMCSSFontFaceRule rule; */
NS_IMETHODIMP nsDOMFontFace::GetRule(nsIDOMCSSFontFaceRule * *aRule)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long srcIndex; */
NS_IMETHODIMP nsDOMFontFace::GetSrcIndex(PRInt32 *aSrcIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString URI; */
NS_IMETHODIMP nsDOMFontFace::GetURI(nsAString & aURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString localName; */
NS_IMETHODIMP nsDOMFontFace::GetLocalName(nsAString & aLocalName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString format; */
NS_IMETHODIMP nsDOMFontFace::GetFormat(nsAString & aFormat)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString metadata; */
NS_IMETHODIMP nsDOMFontFace::GetMetadata(nsAString & aMetadata)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMFontFace_h__ */
|