/usr/include/thunderbird/imIStatusInfo.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 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/imIStatusInfo.idl
*/
#ifndef __gen_imIStatusInfo_h__
#define __gen_imIStatusInfo_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#ifndef __gen_nsISimpleEnumerator_h__
#include "nsISimpleEnumerator.h"
#endif
#ifndef __gen_prplIConversation_h__
#include "prplIConversation.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: imIStatusInfo */
#define IMISTATUSINFO_IID_STR "f13dc4fc-5334-45cb-aa58-a92851955e55"
#define IMISTATUSINFO_IID \
{0xf13dc4fc, 0x5334, 0x45cb, \
{ 0xaa, 0x58, 0xa9, 0x28, 0x51, 0x95, 0x5e, 0x55 }}
class NS_NO_VTABLE imIStatusInfo : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(IMISTATUSINFO_IID)
/* readonly attribute AUTF8String displayName; */
NS_IMETHOD GetDisplayName(nsACString & aDisplayName) = 0;
/* readonly attribute AUTF8String buddyIconFilename; */
NS_IMETHOD GetBuddyIconFilename(nsACString & aBuddyIconFilename) = 0;
enum {
STATUS_UNKNOWN = 0,
STATUS_OFFLINE = 1,
STATUS_INVISIBLE = 2,
STATUS_MOBILE = 3,
STATUS_IDLE = 4,
STATUS_AWAY = 5,
STATUS_UNAVAILABLE = 6,
STATUS_AVAILABLE = 7
};
/* readonly attribute long statusType; */
NS_IMETHOD GetStatusType(int32_t *aStatusType) = 0;
/* readonly attribute boolean online; */
NS_IMETHOD GetOnline(bool *aOnline) = 0;
/* readonly attribute boolean available; */
NS_IMETHOD GetAvailable(bool *aAvailable) = 0;
/* readonly attribute boolean idle; */
NS_IMETHOD GetIdle(bool *aIdle) = 0;
/* readonly attribute boolean mobile; */
NS_IMETHOD GetMobile(bool *aMobile) = 0;
/* readonly attribute AUTF8String statusText; */
NS_IMETHOD GetStatusText(nsACString & aStatusText) = 0;
/* readonly attribute long availabilityDetails; */
NS_IMETHOD GetAvailabilityDetails(int32_t *aAvailabilityDetails) = 0;
/* readonly attribute boolean canSendMessage; */
NS_IMETHOD GetCanSendMessage(bool *aCanSendMessage) = 0;
/* nsISimpleEnumerator getTooltipInfo (); */
NS_IMETHOD GetTooltipInfo(nsISimpleEnumerator * *_retval) = 0;
/* prplIConversation createConversation (); */
NS_IMETHOD CreateConversation(prplIConversation * *_retval) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(imIStatusInfo, IMISTATUSINFO_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_IMISTATUSINFO \
NS_IMETHOD GetDisplayName(nsACString & aDisplayName) override; \
NS_IMETHOD GetBuddyIconFilename(nsACString & aBuddyIconFilename) override; \
NS_IMETHOD GetStatusType(int32_t *aStatusType) override; \
NS_IMETHOD GetOnline(bool *aOnline) override; \
NS_IMETHOD GetAvailable(bool *aAvailable) override; \
NS_IMETHOD GetIdle(bool *aIdle) override; \
NS_IMETHOD GetMobile(bool *aMobile) override; \
NS_IMETHOD GetStatusText(nsACString & aStatusText) override; \
NS_IMETHOD GetAvailabilityDetails(int32_t *aAvailabilityDetails) override; \
NS_IMETHOD GetCanSendMessage(bool *aCanSendMessage) override; \
NS_IMETHOD GetTooltipInfo(nsISimpleEnumerator * *_retval) override; \
NS_IMETHOD CreateConversation(prplIConversation * *_retval) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_IMISTATUSINFO(_to) \
NS_IMETHOD GetDisplayName(nsACString & aDisplayName) override { return _to GetDisplayName(aDisplayName); } \
NS_IMETHOD GetBuddyIconFilename(nsACString & aBuddyIconFilename) override { return _to GetBuddyIconFilename(aBuddyIconFilename); } \
NS_IMETHOD GetStatusType(int32_t *aStatusType) override { return _to GetStatusType(aStatusType); } \
NS_IMETHOD GetOnline(bool *aOnline) override { return _to GetOnline(aOnline); } \
NS_IMETHOD GetAvailable(bool *aAvailable) override { return _to GetAvailable(aAvailable); } \
NS_IMETHOD GetIdle(bool *aIdle) override { return _to GetIdle(aIdle); } \
NS_IMETHOD GetMobile(bool *aMobile) override { return _to GetMobile(aMobile); } \
NS_IMETHOD GetStatusText(nsACString & aStatusText) override { return _to GetStatusText(aStatusText); } \
NS_IMETHOD GetAvailabilityDetails(int32_t *aAvailabilityDetails) override { return _to GetAvailabilityDetails(aAvailabilityDetails); } \
NS_IMETHOD GetCanSendMessage(bool *aCanSendMessage) override { return _to GetCanSendMessage(aCanSendMessage); } \
NS_IMETHOD GetTooltipInfo(nsISimpleEnumerator * *_retval) override { return _to GetTooltipInfo(_retval); } \
NS_IMETHOD CreateConversation(prplIConversation * *_retval) override { return _to CreateConversation(_retval); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_IMISTATUSINFO(_to) \
NS_IMETHOD GetDisplayName(nsACString & aDisplayName) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDisplayName(aDisplayName); } \
NS_IMETHOD GetBuddyIconFilename(nsACString & aBuddyIconFilename) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBuddyIconFilename(aBuddyIconFilename); } \
NS_IMETHOD GetStatusType(int32_t *aStatusType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusType(aStatusType); } \
NS_IMETHOD GetOnline(bool *aOnline) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOnline(aOnline); } \
NS_IMETHOD GetAvailable(bool *aAvailable) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailable(aAvailable); } \
NS_IMETHOD GetIdle(bool *aIdle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIdle(aIdle); } \
NS_IMETHOD GetMobile(bool *aMobile) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMobile(aMobile); } \
NS_IMETHOD GetStatusText(nsACString & aStatusText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStatusText(aStatusText); } \
NS_IMETHOD GetAvailabilityDetails(int32_t *aAvailabilityDetails) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAvailabilityDetails(aAvailabilityDetails); } \
NS_IMETHOD GetCanSendMessage(bool *aCanSendMessage) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanSendMessage(aCanSendMessage); } \
NS_IMETHOD GetTooltipInfo(nsISimpleEnumerator * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTooltipInfo(_retval); } \
NS_IMETHOD CreateConversation(prplIConversation * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CreateConversation(_retval); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class imStatusInfo : public imIStatusInfo
{
public:
NS_DECL_ISUPPORTS
NS_DECL_IMISTATUSINFO
imStatusInfo();
private:
~imStatusInfo();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(imStatusInfo, imIStatusInfo)
imStatusInfo::imStatusInfo()
{
/* member initializers and constructor code */
}
imStatusInfo::~imStatusInfo()
{
/* destructor code */
}
/* readonly attribute AUTF8String displayName; */
NS_IMETHODIMP imStatusInfo::GetDisplayName(nsACString & aDisplayName)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String buddyIconFilename; */
NS_IMETHODIMP imStatusInfo::GetBuddyIconFilename(nsACString & aBuddyIconFilename)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long statusType; */
NS_IMETHODIMP imStatusInfo::GetStatusType(int32_t *aStatusType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean online; */
NS_IMETHODIMP imStatusInfo::GetOnline(bool *aOnline)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean available; */
NS_IMETHODIMP imStatusInfo::GetAvailable(bool *aAvailable)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean idle; */
NS_IMETHODIMP imStatusInfo::GetIdle(bool *aIdle)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean mobile; */
NS_IMETHODIMP imStatusInfo::GetMobile(bool *aMobile)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute AUTF8String statusText; */
NS_IMETHODIMP imStatusInfo::GetStatusText(nsACString & aStatusText)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute long availabilityDetails; */
NS_IMETHODIMP imStatusInfo::GetAvailabilityDetails(int32_t *aAvailabilityDetails)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute boolean canSendMessage; */
NS_IMETHODIMP imStatusInfo::GetCanSendMessage(bool *aCanSendMessage)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* nsISimpleEnumerator getTooltipInfo (); */
NS_IMETHODIMP imStatusInfo::GetTooltipInfo(nsISimpleEnumerator * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* prplIConversation createConversation (); */
NS_IMETHODIMP imStatusInfo::CreateConversation(prplIConversation * *_retval)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_imIStatusInfo_h__ */
|