/usr/include/thunderbird/nsIDOMXULCheckboxElement.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
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 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMXULCheckboxElement.idl
*/
#ifndef __gen_nsIDOMXULCheckboxElement_h__
#define __gen_nsIDOMXULCheckboxElement_h__
#ifndef __gen_nsIDOMElement_h__
#include "nsIDOMElement.h"
#endif
#ifndef __gen_nsIDOMXULLabeledControlEl_h__
#include "nsIDOMXULLabeledControlEl.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: nsIDOMXULCheckboxElement */
#define NS_IDOMXULCHECKBOXELEMENT_IID_STR "745518ad-3163-41f0-b358-c81fb5a587bc"
#define NS_IDOMXULCHECKBOXELEMENT_IID \
{0x745518ad, 0x3163, 0x41f0, \
{ 0xb3, 0x58, 0xc8, 0x1f, 0xb5, 0xa5, 0x87, 0xbc }}
class NS_NO_VTABLE nsIDOMXULCheckboxElement : public nsIDOMXULLabeledControlElement {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMXULCHECKBOXELEMENT_IID)
enum {
CHECKSTATE_UNCHECKED = 0,
CHECKSTATE_CHECKED = 1,
CHECKSTATE_MIXED = 2
};
/* attribute boolean checked; */
NS_IMETHOD GetChecked(bool *aChecked) = 0;
NS_IMETHOD SetChecked(bool aChecked) = 0;
/* attribute long checkState; */
NS_IMETHOD GetCheckState(int32_t *aCheckState) = 0;
NS_IMETHOD SetCheckState(int32_t aCheckState) = 0;
/* attribute boolean autoCheck; */
NS_IMETHOD GetAutoCheck(bool *aAutoCheck) = 0;
NS_IMETHOD SetAutoCheck(bool aAutoCheck) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMXULCheckboxElement, NS_IDOMXULCHECKBOXELEMENT_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMXULCHECKBOXELEMENT \
NS_IMETHOD GetChecked(bool *aChecked) override; \
NS_IMETHOD SetChecked(bool aChecked) override; \
NS_IMETHOD GetCheckState(int32_t *aCheckState) override; \
NS_IMETHOD SetCheckState(int32_t aCheckState) override; \
NS_IMETHOD GetAutoCheck(bool *aAutoCheck) override; \
NS_IMETHOD SetAutoCheck(bool aAutoCheck) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIDOMXULCHECKBOXELEMENT \
NS_METHOD GetChecked(bool *aChecked); \
NS_METHOD SetChecked(bool aChecked); \
NS_METHOD GetCheckState(int32_t *aCheckState); \
NS_METHOD SetCheckState(int32_t aCheckState); \
NS_METHOD GetAutoCheck(bool *aAutoCheck); \
NS_METHOD SetAutoCheck(bool aAutoCheck);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMXULCHECKBOXELEMENT(_to) \
NS_IMETHOD GetChecked(bool *aChecked) override { return _to GetChecked(aChecked); } \
NS_IMETHOD SetChecked(bool aChecked) override { return _to SetChecked(aChecked); } \
NS_IMETHOD GetCheckState(int32_t *aCheckState) override { return _to GetCheckState(aCheckState); } \
NS_IMETHOD SetCheckState(int32_t aCheckState) override { return _to SetCheckState(aCheckState); } \
NS_IMETHOD GetAutoCheck(bool *aAutoCheck) override { return _to GetAutoCheck(aAutoCheck); } \
NS_IMETHOD SetAutoCheck(bool aAutoCheck) override { return _to SetAutoCheck(aAutoCheck); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMXULCHECKBOXELEMENT(_to) \
NS_IMETHOD GetChecked(bool *aChecked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetChecked(aChecked); } \
NS_IMETHOD SetChecked(bool aChecked) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetChecked(aChecked); } \
NS_IMETHOD GetCheckState(int32_t *aCheckState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCheckState(aCheckState); } \
NS_IMETHOD SetCheckState(int32_t aCheckState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetCheckState(aCheckState); } \
NS_IMETHOD GetAutoCheck(bool *aAutoCheck) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAutoCheck(aAutoCheck); } \
NS_IMETHOD SetAutoCheck(bool aAutoCheck) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetAutoCheck(aAutoCheck); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMXULCheckboxElement : public nsIDOMXULCheckboxElement
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMXULCHECKBOXELEMENT
nsDOMXULCheckboxElement();
private:
~nsDOMXULCheckboxElement();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMXULCheckboxElement, nsIDOMXULCheckboxElement)
nsDOMXULCheckboxElement::nsDOMXULCheckboxElement()
{
/* member initializers and constructor code */
}
nsDOMXULCheckboxElement::~nsDOMXULCheckboxElement()
{
/* destructor code */
}
/* attribute boolean checked; */
NS_IMETHODIMP nsDOMXULCheckboxElement::GetChecked(bool *aChecked)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULCheckboxElement::SetChecked(bool aChecked)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute long checkState; */
NS_IMETHODIMP nsDOMXULCheckboxElement::GetCheckState(int32_t *aCheckState)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULCheckboxElement::SetCheckState(int32_t aCheckState)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean autoCheck; */
NS_IMETHODIMP nsDOMXULCheckboxElement::GetAutoCheck(bool *aAutoCheck)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsDOMXULCheckboxElement::SetAutoCheck(bool aAutoCheck)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMXULCheckboxElement_h__ */
|