1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/interfaces/svg/nsIDOMSVGFitToViewBox.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSVGFitToViewBox_h__
6 : #define __gen_nsIDOMSVGFitToViewBox_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 : class nsIDOMSVGAnimatedRect; /* forward declaration */
18 :
19 : class nsIDOMSVGAnimatedPreserveAspectRatio; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIDOMSVGFitToViewBox */
23 : #define NS_IDOMSVGFITTOVIEWBOX_IID_STR "089410f3-9777-44f1-a882-ab4225696434"
24 :
25 : #define NS_IDOMSVGFITTOVIEWBOX_IID \
26 : {0x089410f3, 0x9777, 0x44f1, \
27 : { 0xa8, 0x82, 0xab, 0x42, 0x25, 0x69, 0x64, 0x34 }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMSVGFitToViewBox : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGFITTOVIEWBOX_IID)
33 :
34 : /* readonly attribute nsIDOMSVGAnimatedRect viewBox; */
35 : NS_SCRIPTABLE NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) = 0;
36 :
37 : /* readonly attribute nsIDOMSVGAnimatedPreserveAspectRatio preserveAspectRatio; */
38 : NS_SCRIPTABLE NS_IMETHOD GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio) = 0;
39 :
40 : };
41 :
42 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMSVGFitToViewBox, NS_IDOMSVGFITTOVIEWBOX_IID)
43 :
44 : /* Use this macro when declaring classes that implement this interface. */
45 : #define NS_DECL_NSIDOMSVGFITTOVIEWBOX \
46 : NS_SCRIPTABLE NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox); \
47 : NS_SCRIPTABLE NS_IMETHOD GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIDOMSVGFITTOVIEWBOX(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) { return _to GetViewBox(aViewBox); } \
52 : NS_SCRIPTABLE NS_IMETHOD GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio) { return _to GetPreserveAspectRatio(aPreserveAspectRatio); }
53 :
54 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
55 : #define NS_FORWARD_SAFE_NSIDOMSVGFITTOVIEWBOX(_to) \
56 : NS_SCRIPTABLE NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewBox(aViewBox); } \
57 : NS_SCRIPTABLE NS_IMETHOD GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPreserveAspectRatio(aPreserveAspectRatio); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsDOMSVGFitToViewBox : public nsIDOMSVGFitToViewBox
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSIDOMSVGFITTOVIEWBOX
68 :
69 : nsDOMSVGFitToViewBox();
70 :
71 : private:
72 : ~nsDOMSVGFitToViewBox();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsDOMSVGFitToViewBox, nsIDOMSVGFitToViewBox)
80 :
81 : nsDOMSVGFitToViewBox::nsDOMSVGFitToViewBox()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsDOMSVGFitToViewBox::~nsDOMSVGFitToViewBox()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* readonly attribute nsIDOMSVGAnimatedRect viewBox; */
92 : NS_IMETHODIMP nsDOMSVGFitToViewBox::GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* readonly attribute nsIDOMSVGAnimatedPreserveAspectRatio preserveAspectRatio; */
98 : NS_IMETHODIMP nsDOMSVGFitToViewBox::GetPreserveAspectRatio(nsIDOMSVGAnimatedPreserveAspectRatio * *aPreserveAspectRatio)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* End of implementation class template. */
104 : #endif
105 :
106 :
107 : #endif /* __gen_nsIDOMSVGFitToViewBox_h__ */
|