/usr/include/firefox/nsIDOMGeoPositionOptions.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/firefox-11.0+build1/build-tree/mozilla/dom/interfaces/geolocation/nsIDOMGeoPositionOptions.idl
*/
#ifndef __gen_nsIDOMGeoPositionOptions_h__
#define __gen_nsIDOMGeoPositionOptions_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
/* starting interface: nsIDOMGeoPositionOptions */
#define NS_IDOMGEOPOSITIONOPTIONS_IID_STR "453b72de-ea90-4f09-ae16-c2e7ee0dddc4"
#define NS_IDOMGEOPOSITIONOPTIONS_IID \
{0x453b72de, 0xea90, 0x4f09, \
{ 0xae, 0x16, 0xc2, 0xe7, 0xee, 0x0d, 0xdd, 0xc4 }}
class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMGeoPositionOptions : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMGEOPOSITIONOPTIONS_IID)
/* attribute boolean enableHighAccuracy; */
NS_SCRIPTABLE NS_IMETHOD GetEnableHighAccuracy(bool *aEnableHighAccuracy) = 0;
NS_SCRIPTABLE NS_IMETHOD SetEnableHighAccuracy(bool aEnableHighAccuracy) = 0;
/* attribute long timeout; */
NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRInt32 *aTimeout) = 0;
NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRInt32 aTimeout) = 0;
/* attribute long maximumAge; */
NS_SCRIPTABLE NS_IMETHOD GetMaximumAge(PRInt32 *aMaximumAge) = 0;
NS_SCRIPTABLE NS_IMETHOD SetMaximumAge(PRInt32 aMaximumAge) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMGeoPositionOptions, NS_IDOMGEOPOSITIONOPTIONS_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMGEOPOSITIONOPTIONS \
NS_SCRIPTABLE NS_IMETHOD GetEnableHighAccuracy(bool *aEnableHighAccuracy); \
NS_SCRIPTABLE NS_IMETHOD SetEnableHighAccuracy(bool aEnableHighAccuracy); \
NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRInt32 *aTimeout); \
NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRInt32 aTimeout); \
NS_SCRIPTABLE NS_IMETHOD GetMaximumAge(PRInt32 *aMaximumAge); \
NS_SCRIPTABLE NS_IMETHOD SetMaximumAge(PRInt32 aMaximumAge);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMGEOPOSITIONOPTIONS(_to) \
NS_SCRIPTABLE NS_IMETHOD GetEnableHighAccuracy(bool *aEnableHighAccuracy) { return _to GetEnableHighAccuracy(aEnableHighAccuracy); } \
NS_SCRIPTABLE NS_IMETHOD SetEnableHighAccuracy(bool aEnableHighAccuracy) { return _to SetEnableHighAccuracy(aEnableHighAccuracy); } \
NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRInt32 *aTimeout) { return _to GetTimeout(aTimeout); } \
NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRInt32 aTimeout) { return _to SetTimeout(aTimeout); } \
NS_SCRIPTABLE NS_IMETHOD GetMaximumAge(PRInt32 *aMaximumAge) { return _to GetMaximumAge(aMaximumAge); } \
NS_SCRIPTABLE NS_IMETHOD SetMaximumAge(PRInt32 aMaximumAge) { return _to SetMaximumAge(aMaximumAge); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMGEOPOSITIONOPTIONS(_to) \
NS_SCRIPTABLE NS_IMETHOD GetEnableHighAccuracy(bool *aEnableHighAccuracy) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEnableHighAccuracy(aEnableHighAccuracy); } \
NS_SCRIPTABLE NS_IMETHOD SetEnableHighAccuracy(bool aEnableHighAccuracy) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetEnableHighAccuracy(aEnableHighAccuracy); } \
NS_SCRIPTABLE NS_IMETHOD GetTimeout(PRInt32 *aTimeout) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimeout(aTimeout); } \
NS_SCRIPTABLE NS_IMETHOD SetTimeout(PRInt32 aTimeout) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTimeout(aTimeout); } \
NS_SCRIPTABLE NS_IMETHOD GetMaximumAge(PRInt32 *aMaximumAge) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMaximumAge(aMaximumAge); } \
NS_SCRIPTABLE NS_IMETHOD SetMaximumAge(PRInt32 aMaximumAge) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMaximumAge(aMaximumAge); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMGeoPositionOptions : public nsIDOMGeoPositionOptions
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMGEOPOSITIONOPTIONS
nsDOMGeoPositionOptions();
private:
~nsDOMGeoPositionOptions();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsDOMGeoPositionOptions, nsIDOMGeoPositionOptions)
nsDOMGeoPositionOptions::nsDOMGeoPositionOptions()
{
/* member initializers and constructor code */
}
nsDOMGeoPositionOptions::~nsDOMGeoPositionOptions()
{
/* destructor code */
}
/* attribute boolean enableHighAccuracy; */
NS_IMETHODIMP nsDOMGeoPositionOptions::GetEnableHighAccuracy(bool *aEnableHighAccuracy)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMGeoPositionOptions::SetEnableHighAccuracy(bool aEnableHighAccuracy)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long timeout; */
NS_IMETHODIMP nsDOMGeoPositionOptions::GetTimeout(PRInt32 *aTimeout)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMGeoPositionOptions::SetTimeout(PRInt32 aTimeout)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long maximumAge; */
NS_IMETHODIMP nsDOMGeoPositionOptions::GetMaximumAge(PRInt32 *aMaximumAge)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMGeoPositionOptions::SetMaximumAge(PRInt32 aMaximumAge)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMGeoPositionOptions_h__ */
|