/usr/include/firefox/nsIDOMSVGFitToViewBox.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/dom/interfaces/svg/nsIDOMSVGFitToViewBox.idl
*/
#ifndef __gen_nsIDOMSVGFitToViewBox_h__
#define __gen_nsIDOMSVGFitToViewBox_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMSVGAnimatedRect; /* forward declaration */
class nsIDOMSVGAnimatedPreserveAspectRatio; /* forward declaration */
/* starting interface: nsIDOMSVGFitToViewBox */
#define NS_IDOMSVGFITTOVIEWBOX_IID_STR "089410f3-9777-44f1-a882-ab4225696434"
#define NS_IDOMSVGFITTOVIEWBOX_IID \
{0x089410f3, 0x9777, 0x44f1, \
{ 0xa8, 0x82, 0xab, 0x42, 0x25, 0x69, 0x64, 0x34 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGFitToViewBox : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGFITTOVIEWBOX_IID)
/* readonly attribute nsIDOMSVGAnimatedRect viewBox; */
NS_SCRIPTABLE NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) = 0;
/* readonly attribute nsIDOMSVGAnimatedPreserveAspectRatio preserveAspectRatio; */
NS_SCRIPTABLE NS_IMETHOD GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGFitToViewBox, NS_IDOMSVGFITTOVIEWBOX_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMSVGFITTOVIEWBOX \
NS_SCRIPTABLE NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox); \
NS_SCRIPTABLE NS_IMETHOD GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMSVGFITTOVIEWBOX(_to) \
NS_SCRIPTABLE NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) { return _to GetViewBox(aViewBox); } \
NS_SCRIPTABLE NS_IMETHOD GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio) { return _to GetPreserveAspectRatio(aPreserveAspectRatio); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMSVGFITTOVIEWBOX(_to) \
NS_SCRIPTABLE NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewBox(aViewBox); } \
NS_SCRIPTABLE NS_IMETHOD GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreserveAspectRatio(aPreserveAspectRatio); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMSVGFitToViewBox : public nsIDOMSVGFitToViewBox
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMSVGFITTOVIEWBOX
nsDOMSVGFitToViewBox();
private:
~nsDOMSVGFitToViewBox();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMSVGFitToViewBox, nsIDOMSVGFitToViewBox)
nsDOMSVGFitToViewBox::nsDOMSVGFitToViewBox()
{
/* member initializers and constructor code */
}
nsDOMSVGFitToViewBox::~nsDOMSVGFitToViewBox()
{
/* destructor code */
}
/* readonly attribute nsIDOMSVGAnimatedRect viewBox; */
NS_IMETHODIMP nsDOMSVGFitToViewBox::GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMSVGAnimatedPreserveAspectRatio preserveAspectRatio; */
NS_IMETHODIMP nsDOMSVGFitToViewBox::GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMSVGFitToViewBox_h__ */
|