/usr/include/thunderbird/nsIOpenWindowEventDetail.h is in thunderbird-dev 1:24.4.0+build1-0ubuntu1.
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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/mozilla/dom/browser-element/nsIOpenWindowEventDetail.idl
*/
#ifndef __gen_nsIOpenWindowEventDetail_h__
#define __gen_nsIOpenWindowEventDetail_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIDOMNode; /* forward declaration */
/* starting interface: nsIOpenWindowEventDetail */
#define NS_IOPENWINDOWEVENTDETAIL_IID_STR "94377af6-956a-4adf-908b-363f7023ae1a"
#define NS_IOPENWINDOWEVENTDETAIL_IID \
{0x94377af6, 0x956a, 0x4adf, \
{ 0x90, 0x8b, 0x36, 0x3f, 0x70, 0x23, 0xae, 0x1a }}
class NS_NO_VTABLE nsIOpenWindowEventDetail : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IOPENWINDOWEVENTDETAIL_IID)
/* readonly attribute AString url; */
NS_IMETHOD GetUrl(nsAString & aUrl) = 0;
/* readonly attribute AString name; */
NS_IMETHOD GetName(nsAString & aName) = 0;
/* readonly attribute AString features; */
NS_IMETHOD GetFeatures(nsAString & aFeatures) = 0;
/* readonly attribute nsIDOMNode frameElement; */
NS_IMETHOD GetFrameElement(nsIDOMNode * *aFrameElement) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIOpenWindowEventDetail, NS_IOPENWINDOWEVENTDETAIL_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIOPENWINDOWEVENTDETAIL \
NS_IMETHOD GetUrl(nsAString & aUrl); \
NS_IMETHOD GetName(nsAString & aName); \
NS_IMETHOD GetFeatures(nsAString & aFeatures); \
NS_IMETHOD GetFrameElement(nsIDOMNode * *aFrameElement);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIOPENWINDOWEVENTDETAIL(_to) \
NS_IMETHOD GetUrl(nsAString & aUrl) { return _to GetUrl(aUrl); } \
NS_IMETHOD GetName(nsAString & aName) { return _to GetName(aName); } \
NS_IMETHOD GetFeatures(nsAString & aFeatures) { return _to GetFeatures(aFeatures); } \
NS_IMETHOD GetFrameElement(nsIDOMNode * *aFrameElement) { return _to GetFrameElement(aFrameElement); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIOPENWINDOWEVENTDETAIL(_to) \
NS_IMETHOD GetUrl(nsAString & aUrl) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUrl(aUrl); } \
NS_IMETHOD GetName(nsAString & aName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_IMETHOD GetFeatures(nsAString & aFeatures) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatures(aFeatures); } \
NS_IMETHOD GetFrameElement(nsIDOMNode * *aFrameElement) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFrameElement(aFrameElement); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsOpenWindowEventDetail : public nsIOpenWindowEventDetail
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIOPENWINDOWEVENTDETAIL
nsOpenWindowEventDetail();
private:
~nsOpenWindowEventDetail();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsOpenWindowEventDetail, nsIOpenWindowEventDetail)
nsOpenWindowEventDetail::nsOpenWindowEventDetail()
{
/* member initializers and constructor code */
}
nsOpenWindowEventDetail::~nsOpenWindowEventDetail()
{
/* destructor code */
}
/* readonly attribute AString url; */
NS_IMETHODIMP nsOpenWindowEventDetail::GetUrl(nsAString & aUrl)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString name; */
NS_IMETHODIMP nsOpenWindowEventDetail::GetName(nsAString & aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AString features; */
NS_IMETHODIMP nsOpenWindowEventDetail::GetFeatures(nsAString & aFeatures)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute nsIDOMNode frameElement; */
NS_IMETHODIMP nsOpenWindowEventDetail::GetFrameElement(nsIDOMNode * *aFrameElement)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIOpenWindowEventDetail_h__ */
|