|
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/21585/root/usr/lib64/xulrunner-devel-17.0.10/include/ |
Upload File : |
/*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /builddir/build/BUILD/xulrunner-17.0.10/mozilla-esr17/dom/interfaces/base/nsIDOMScreen.idl
*/
#ifndef __gen_nsIDOMScreen_h__
#define __gen_nsIDOMScreen_h__
#ifndef __gen_nsIDOMEventTarget_h__
#include "nsIDOMEventTarget.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIDOMScreen */
#define NS_IDOMSCREEN_IID_STR "9b978f58-5bfe-409d-aa3f-946ca934e51d"
#define NS_IDOMSCREEN_IID \
{0x9b978f58, 0x5bfe, 0x409d, \
{ 0xaa, 0x3f, 0x94, 0x6c, 0xa9, 0x34, 0xe5, 0x1d }}
class NS_NO_VTABLE nsIDOMScreen : public nsIDOMEventTarget {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMSCREEN_IID)
/* readonly attribute long top; */
NS_IMETHOD GetTop(int32_t *aTop) = 0;
/* readonly attribute long left; */
NS_IMETHOD GetLeft(int32_t *aLeft) = 0;
/* readonly attribute long width; */
NS_IMETHOD GetWidth(int32_t *aWidth) = 0;
/* readonly attribute long height; */
NS_IMETHOD GetHeight(int32_t *aHeight) = 0;
/* readonly attribute long pixelDepth; */
NS_IMETHOD GetPixelDepth(int32_t *aPixelDepth) = 0;
/* readonly attribute long colorDepth; */
NS_IMETHOD GetColorDepth(int32_t *aColorDepth) = 0;
/* readonly attribute long availWidth; */
NS_IMETHOD GetAvailWidth(int32_t *aAvailWidth) = 0;
/* readonly attribute long availHeight; */
NS_IMETHOD GetAvailHeight(int32_t *aAvailHeight) = 0;
/* readonly attribute long availLeft; */
NS_IMETHOD GetAvailLeft(int32_t *aAvailLeft) = 0;
/* readonly attribute long availTop; */
NS_IMETHOD GetAvailTop(int32_t *aAvailTop) = 0;
/* readonly attribute DOMString mozOrientation; */
NS_IMETHOD GetMozOrientation(nsAString & aMozOrientation) = 0;
/* attribute nsIDOMEventListener onmozorientationchange; */
NS_IMETHOD GetOnmozorientationchange(nsIDOMEventListener * *aOnmozorientationchange) = 0;
NS_IMETHOD SetOnmozorientationchange(nsIDOMEventListener *aOnmozorientationchange) = 0;
/* boolean mozLockOrientation (in DOMString orientation); */
NS_IMETHOD MozLockOrientation(const nsAString & orientation, bool *_retval) = 0;
/* void mozUnlockOrientation (); */
NS_IMETHOD MozUnlockOrientation(void) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMScreen, NS_IDOMSCREEN_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMSCREEN \
NS_IMETHOD GetTop(int32_t *aTop); \
NS_IMETHOD GetLeft(int32_t *aLeft); \
NS_IMETHOD GetWidth(int32_t *aWidth); \
NS_IMETHOD GetHeight(int32_t *aHeight); \
NS_IMETHOD GetPixelDepth(int32_t *aPixelDepth); \
NS_IMETHOD GetColorDepth(int32_t *aColorDepth); \
NS_IMETHOD GetAvailWidth(int32_t *aAvailWidth); \
NS_IMETHOD GetAvailHeight(int32_t *aAvailHeight); \
NS_IMETHOD GetAvailLeft(int32_t *aAvailLeft); \
NS_IMETHOD GetAvailTop(int32_t *aAvailTop); \
NS_IMETHOD GetMozOrientation(nsAString & aMozOrientation); \
NS_IMETHOD GetOnmozorientationchange(nsIDOMEventListener * *aOnmozorientationchange); \
NS_IMETHOD SetOnmozorientationchange(nsIDOMEventListener *aOnmozorientationchange); \
NS_IMETHOD MozLockOrientation(const nsAString & orientation, bool *_retval); \
NS_IMETHOD MozUnlockOrientation(void);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMSCREEN(_to) \
NS_IMETHOD GetTop(int32_t *aTop) { return _to GetTop(aTop); } \
NS_IMETHOD GetLeft(int32_t *aLeft) { return _to GetLeft(aLeft); } \
NS_IMETHOD GetWidth(int32_t *aWidth) { return _to GetWidth(aWidth); } \
NS_IMETHOD GetHeight(int32_t *aHeight) { return _to GetHeight(aHeight); } \
NS_IMETHOD GetPixelDepth(int32_t *aPixelDepth) { return _to GetPixelDepth(aPixelDepth); } \
NS_IMETHOD GetColorDepth(int32_t *aColorDepth) { return _to GetColorDepth(aColorDepth); } \
NS_IMETHOD GetAvailWidth(int32_t *aAvailWidth) { return _to GetAvailWidth(aAvailWidth); } \
NS_IMETHOD GetAvailHeight(int32_t *aAvailHeight) { return _to GetAvailHeight(aAvailHeight); } \
NS_IMETHOD GetAvailLeft(int32_t *aAvailLeft) { return _to GetAvailLeft(aAvailLeft); } \
NS_IMETHOD GetAvailTop(int32_t *aAvailTop) { return _to GetAvailTop(aAvailTop); } \
NS_IMETHOD GetMozOrientation(nsAString & aMozOrientation) { return _to GetMozOrientation(aMozOrientation); } \
NS_IMETHOD GetOnmozorientationchange(nsIDOMEventListener * *aOnmozorientationchange) { return _to GetOnmozorientationchange(aOnmozorientationchange); } \
NS_IMETHOD SetOnmozorientationchange(nsIDOMEventListener *aOnmozorientationchange) { return _to SetOnmozorientationchange(aOnmozorientationchange); } \
NS_IMETHOD MozLockOrientation(const nsAString & orientation, bool *_retval) { return _to MozLockOrientation(orientation, _retval); } \
NS_IMETHOD MozUnlockOrientation(void) { return _to MozUnlockOrientation(); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMSCREEN(_to) \
NS_IMETHOD GetTop(int32_t *aTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTop(aTop); } \
NS_IMETHOD GetLeft(int32_t *aLeft) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLeft(aLeft); } \
NS_IMETHOD GetWidth(int32_t *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
NS_IMETHOD GetHeight(int32_t *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } \
NS_IMETHOD GetPixelDepth(int32_t *aPixelDepth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetPixelDepth(aPixelDepth); } \
NS_IMETHOD GetColorDepth(int32_t *aColorDepth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetColorDepth(aColorDepth); } \
NS_IMETHOD GetAvailWidth(int32_t *aAvailWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailWidth(aAvailWidth); } \
NS_IMETHOD GetAvailHeight(int32_t *aAvailHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailHeight(aAvailHeight); } \
NS_IMETHOD GetAvailLeft(int32_t *aAvailLeft) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailLeft(aAvailLeft); } \
NS_IMETHOD GetAvailTop(int32_t *aAvailTop) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailTop(aAvailTop); } \
NS_IMETHOD GetMozOrientation(nsAString & aMozOrientation) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMozOrientation(aMozOrientation); } \
NS_IMETHOD GetOnmozorientationchange(nsIDOMEventListener * *aOnmozorientationchange) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnmozorientationchange(aOnmozorientationchange); } \
NS_IMETHOD SetOnmozorientationchange(nsIDOMEventListener *aOnmozorientationchange) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetOnmozorientationchange(aOnmozorientationchange); } \
NS_IMETHOD MozLockOrientation(const nsAString & orientation, bool *_retval) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozLockOrientation(orientation, _retval); } \
NS_IMETHOD MozUnlockOrientation(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->MozUnlockOrientation(); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMScreen : public nsIDOMScreen
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMSCREEN
nsDOMScreen();
private:
~nsDOMScreen();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMScreen, nsIDOMScreen)
nsDOMScreen::nsDOMScreen()
{
/* member initializers and constructor code */
}
nsDOMScreen::~nsDOMScreen()
{
/* destructor code */
}
/* readonly attribute long top; */
NS_IMETHODIMP nsDOMScreen::GetTop(int32_t *aTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long left; */
NS_IMETHODIMP nsDOMScreen::GetLeft(int32_t *aLeft)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long width; */
NS_IMETHODIMP nsDOMScreen::GetWidth(int32_t *aWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long height; */
NS_IMETHODIMP nsDOMScreen::GetHeight(int32_t *aHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long pixelDepth; */
NS_IMETHODIMP nsDOMScreen::GetPixelDepth(int32_t *aPixelDepth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long colorDepth; */
NS_IMETHODIMP nsDOMScreen::GetColorDepth(int32_t *aColorDepth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long availWidth; */
NS_IMETHODIMP nsDOMScreen::GetAvailWidth(int32_t *aAvailWidth)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long availHeight; */
NS_IMETHODIMP nsDOMScreen::GetAvailHeight(int32_t *aAvailHeight)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long availLeft; */
NS_IMETHODIMP nsDOMScreen::GetAvailLeft(int32_t *aAvailLeft)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long availTop; */
NS_IMETHODIMP nsDOMScreen::GetAvailTop(int32_t *aAvailTop)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString mozOrientation; */
NS_IMETHODIMP nsDOMScreen::GetMozOrientation(nsAString & aMozOrientation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute nsIDOMEventListener onmozorientationchange; */
NS_IMETHODIMP nsDOMScreen::GetOnmozorientationchange(nsIDOMEventListener * *aOnmozorientationchange)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMScreen::SetOnmozorientationchange(nsIDOMEventListener *aOnmozorientationchange)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* boolean mozLockOrientation (in DOMString orientation); */
NS_IMETHODIMP nsDOMScreen::MozLockOrientation(const nsAString & orientation, bool *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void mozUnlockOrientation (); */
NS_IMETHODIMP nsDOMScreen::MozUnlockOrientation()
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMScreen_h__ */