|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21573/task/21573/root/proc/21572/root/usr/include/xulrunner-17.0.10/ |
Upload File : |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builddir/build/BUILD/xulrunner-17.0.10/mozilla-esr17/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 nsIDOMSVGFitToViewBox : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSVGFITTOVIEWBOX_IID)
/* readonly attribute nsIDOMSVGAnimatedRect viewBox; */
NS_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) = 0;
/* readonly attribute nsIDOMSVGAnimatedPreserveAspectRatio preserveAspectRatio; */
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_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox); \
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_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) { return _to GetViewBox(aViewBox); } \
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_IMETHOD GetViewBox(nsIDOMSVGAnimatedRect * *aViewBox) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetViewBox(aViewBox); } \
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__ */