/usr/include/thunderbird/nsITelephonyCallInfo.h is in thunderbird-dev 1:38.6.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 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 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsITelephonyCallInfo.idl
*/
#ifndef __gen_nsITelephonyCallInfo_h__
#define __gen_nsITelephonyCallInfo_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
/* starting interface: nsITelephonyCallInfo */
#define NS_ITELEPHONYCALLINFO_IID_STR "3ea2d155-8ea2-42be-85d7-bd8ede8afc40"
#define NS_ITELEPHONYCALLINFO_IID \
{0x3ea2d155, 0x8ea2, 0x42be, \
{ 0x85, 0xd7, 0xbd, 0x8e, 0xde, 0x8a, 0xfc, 0x40 }}
class NS_NO_VTABLE nsITelephonyCallInfo : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITELEPHONYCALLINFO_IID)
/* readonly attribute unsigned long clientId; */
NS_IMETHOD GetClientId(uint32_t *aClientId) = 0;
/* readonly attribute unsigned long callIndex; */
NS_IMETHOD GetCallIndex(uint32_t *aCallIndex) = 0;
/* readonly attribute unsigned short callState; */
NS_IMETHOD GetCallState(uint16_t *aCallState) = 0;
/* readonly attribute DOMString number; */
NS_IMETHOD GetNumber(nsAString & aNumber) = 0;
/* readonly attribute unsigned short numberPresentation; */
NS_IMETHOD GetNumberPresentation(uint16_t *aNumberPresentation) = 0;
/* readonly attribute DOMString name; */
NS_IMETHOD GetName(nsAString & aName) = 0;
/* readonly attribute unsigned short namePresentation; */
NS_IMETHOD GetNamePresentation(uint16_t *aNamePresentation) = 0;
/* readonly attribute boolean isOutgoing; */
NS_IMETHOD GetIsOutgoing(bool *aIsOutgoing) = 0;
/* readonly attribute boolean isEmergency; */
NS_IMETHOD GetIsEmergency(bool *aIsEmergency) = 0;
/* readonly attribute boolean isConference; */
NS_IMETHOD GetIsConference(bool *aIsConference) = 0;
/* readonly attribute boolean isSwitchable; */
NS_IMETHOD GetIsSwitchable(bool *aIsSwitchable) = 0;
/* readonly attribute boolean isMergeable; */
NS_IMETHOD GetIsMergeable(bool *aIsMergeable) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsITelephonyCallInfo, NS_ITELEPHONYCALLINFO_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSITELEPHONYCALLINFO \
NS_IMETHOD GetClientId(uint32_t *aClientId) override; \
NS_IMETHOD GetCallIndex(uint32_t *aCallIndex) override; \
NS_IMETHOD GetCallState(uint16_t *aCallState) override; \
NS_IMETHOD GetNumber(nsAString & aNumber) override; \
NS_IMETHOD GetNumberPresentation(uint16_t *aNumberPresentation) override; \
NS_IMETHOD GetName(nsAString & aName) override; \
NS_IMETHOD GetNamePresentation(uint16_t *aNamePresentation) override; \
NS_IMETHOD GetIsOutgoing(bool *aIsOutgoing) override; \
NS_IMETHOD GetIsEmergency(bool *aIsEmergency) override; \
NS_IMETHOD GetIsConference(bool *aIsConference) override; \
NS_IMETHOD GetIsSwitchable(bool *aIsSwitchable) override; \
NS_IMETHOD GetIsMergeable(bool *aIsMergeable) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSITELEPHONYCALLINFO(_to) \
NS_IMETHOD GetClientId(uint32_t *aClientId) override { return _to GetClientId(aClientId); } \
NS_IMETHOD GetCallIndex(uint32_t *aCallIndex) override { return _to GetCallIndex(aCallIndex); } \
NS_IMETHOD GetCallState(uint16_t *aCallState) override { return _to GetCallState(aCallState); } \
NS_IMETHOD GetNumber(nsAString & aNumber) override { return _to GetNumber(aNumber); } \
NS_IMETHOD GetNumberPresentation(uint16_t *aNumberPresentation) override { return _to GetNumberPresentation(aNumberPresentation); } \
NS_IMETHOD GetName(nsAString & aName) override { return _to GetName(aName); } \
NS_IMETHOD GetNamePresentation(uint16_t *aNamePresentation) override { return _to GetNamePresentation(aNamePresentation); } \
NS_IMETHOD GetIsOutgoing(bool *aIsOutgoing) override { return _to GetIsOutgoing(aIsOutgoing); } \
NS_IMETHOD GetIsEmergency(bool *aIsEmergency) override { return _to GetIsEmergency(aIsEmergency); } \
NS_IMETHOD GetIsConference(bool *aIsConference) override { return _to GetIsConference(aIsConference); } \
NS_IMETHOD GetIsSwitchable(bool *aIsSwitchable) override { return _to GetIsSwitchable(aIsSwitchable); } \
NS_IMETHOD GetIsMergeable(bool *aIsMergeable) override { return _to GetIsMergeable(aIsMergeable); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSITELEPHONYCALLINFO(_to) \
NS_IMETHOD GetClientId(uint32_t *aClientId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetClientId(aClientId); } \
NS_IMETHOD GetCallIndex(uint32_t *aCallIndex) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCallIndex(aCallIndex); } \
NS_IMETHOD GetCallState(uint16_t *aCallState) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCallState(aCallState); } \
NS_IMETHOD GetNumber(nsAString & aNumber) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumber(aNumber); } \
NS_IMETHOD GetNumberPresentation(uint16_t *aNumberPresentation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNumberPresentation(aNumberPresentation); } \
NS_IMETHOD GetName(nsAString & aName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetName(aName); } \
NS_IMETHOD GetNamePresentation(uint16_t *aNamePresentation) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetNamePresentation(aNamePresentation); } \
NS_IMETHOD GetIsOutgoing(bool *aIsOutgoing) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsOutgoing(aIsOutgoing); } \
NS_IMETHOD GetIsEmergency(bool *aIsEmergency) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsEmergency(aIsEmergency); } \
NS_IMETHOD GetIsConference(bool *aIsConference) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsConference(aIsConference); } \
NS_IMETHOD GetIsSwitchable(bool *aIsSwitchable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsSwitchable(aIsSwitchable); } \
NS_IMETHOD GetIsMergeable(bool *aIsMergeable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsMergeable(aIsMergeable); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsTelephonyCallInfo : public nsITelephonyCallInfo
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSITELEPHONYCALLINFO
nsTelephonyCallInfo();
private:
~nsTelephonyCallInfo();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsTelephonyCallInfo, nsITelephonyCallInfo)
nsTelephonyCallInfo::nsTelephonyCallInfo()
{
/* member initializers and constructor code */
}
nsTelephonyCallInfo::~nsTelephonyCallInfo()
{
/* destructor code */
}
/* readonly attribute unsigned long clientId; */
NS_IMETHODIMP nsTelephonyCallInfo::GetClientId(uint32_t *aClientId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long callIndex; */
NS_IMETHODIMP nsTelephonyCallInfo::GetCallIndex(uint32_t *aCallIndex)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned short callState; */
NS_IMETHODIMP nsTelephonyCallInfo::GetCallState(uint16_t *aCallState)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString number; */
NS_IMETHODIMP nsTelephonyCallInfo::GetNumber(nsAString & aNumber)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned short numberPresentation; */
NS_IMETHODIMP nsTelephonyCallInfo::GetNumberPresentation(uint16_t *aNumberPresentation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString name; */
NS_IMETHODIMP nsTelephonyCallInfo::GetName(nsAString & aName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned short namePresentation; */
NS_IMETHODIMP nsTelephonyCallInfo::GetNamePresentation(uint16_t *aNamePresentation)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isOutgoing; */
NS_IMETHODIMP nsTelephonyCallInfo::GetIsOutgoing(bool *aIsOutgoing)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isEmergency; */
NS_IMETHODIMP nsTelephonyCallInfo::GetIsEmergency(bool *aIsEmergency)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isConference; */
NS_IMETHODIMP nsTelephonyCallInfo::GetIsConference(bool *aIsConference)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isSwitchable; */
NS_IMETHODIMP nsTelephonyCallInfo::GetIsSwitchable(bool *aIsSwitchable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean isMergeable; */
NS_IMETHODIMP nsTelephonyCallInfo::GetIsMergeable(bool *aIsMergeable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsITelephonyCallInfo_h__ */
|