/usr/include/thunderbird/nsIDOMMozMobileMessageThread.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIDOMMozMobileMessageThread.idl
*/
#ifndef __gen_nsIDOMMozMobileMessageThread_h__
#define __gen_nsIDOMMozMobileMessageThread_h__
#ifndef __gen_domstubs_h__
#include "domstubs.h"
#endif
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#include "js/Value.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
/* starting interface: nsIDOMMozMobileMessageThread */
#define NS_IDOMMOZMOBILEMESSAGETHREAD_IID_STR "525ad3a6-59a9-11e3-bdc3-836486cb58be"
#define NS_IDOMMOZMOBILEMESSAGETHREAD_IID \
{0x525ad3a6, 0x59a9, 0x11e3, \
{ 0xbd, 0xc3, 0x83, 0x64, 0x86, 0xcb, 0x58, 0xbe }}
class NS_NO_VTABLE nsIDOMMozMobileMessageThread : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZMOBILEMESSAGETHREAD_IID)
/* readonly attribute unsigned long long id; */
NS_IMETHOD GetId(uint64_t *aId) = 0;
/* readonly attribute DOMString lastMessageSubject; */
NS_IMETHOD GetLastMessageSubject(nsAString & aLastMessageSubject) = 0;
/* readonly attribute DOMString body; */
NS_IMETHOD GetBody(nsAString & aBody) = 0;
/* readonly attribute unsigned long long unreadCount; */
NS_IMETHOD GetUnreadCount(uint64_t *aUnreadCount) = 0;
/* [implicit_jscontext] readonly attribute jsval participants; */
NS_IMETHOD GetParticipants(JSContext* cx, JS::MutableHandleValue aParticipants) = 0;
/* readonly attribute DOMTimeStamp timestamp; */
NS_IMETHOD GetTimestamp(DOMTimeStamp *aTimestamp) = 0;
/* readonly attribute DOMString lastMessageType; */
NS_IMETHOD GetLastMessageType(nsAString & aLastMessageType) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozMobileMessageThread, NS_IDOMMOZMOBILEMESSAGETHREAD_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIDOMMOZMOBILEMESSAGETHREAD \
NS_IMETHOD GetId(uint64_t *aId) override; \
NS_IMETHOD GetLastMessageSubject(nsAString & aLastMessageSubject) override; \
NS_IMETHOD GetBody(nsAString & aBody) override; \
NS_IMETHOD GetUnreadCount(uint64_t *aUnreadCount) override; \
NS_IMETHOD GetParticipants(JSContext* cx, JS::MutableHandleValue aParticipants) override; \
NS_IMETHOD GetTimestamp(DOMTimeStamp *aTimestamp) override; \
NS_IMETHOD GetLastMessageType(nsAString & aLastMessageType) override;
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIDOMMOZMOBILEMESSAGETHREAD(_to) \
NS_IMETHOD GetId(uint64_t *aId) override { return _to GetId(aId); } \
NS_IMETHOD GetLastMessageSubject(nsAString & aLastMessageSubject) override { return _to GetLastMessageSubject(aLastMessageSubject); } \
NS_IMETHOD GetBody(nsAString & aBody) override { return _to GetBody(aBody); } \
NS_IMETHOD GetUnreadCount(uint64_t *aUnreadCount) override { return _to GetUnreadCount(aUnreadCount); } \
NS_IMETHOD GetParticipants(JSContext* cx, JS::MutableHandleValue aParticipants) override { return _to GetParticipants(cx, aParticipants); } \
NS_IMETHOD GetTimestamp(DOMTimeStamp *aTimestamp) override { return _to GetTimestamp(aTimestamp); } \
NS_IMETHOD GetLastMessageType(nsAString & aLastMessageType) override { return _to GetLastMessageType(aLastMessageType); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIDOMMOZMOBILEMESSAGETHREAD(_to) \
NS_IMETHOD GetId(uint64_t *aId) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetId(aId); } \
NS_IMETHOD GetLastMessageSubject(nsAString & aLastMessageSubject) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastMessageSubject(aLastMessageSubject); } \
NS_IMETHOD GetBody(nsAString & aBody) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBody(aBody); } \
NS_IMETHOD GetUnreadCount(uint64_t *aUnreadCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUnreadCount(aUnreadCount); } \
NS_IMETHOD GetParticipants(JSContext* cx, JS::MutableHandleValue aParticipants) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetParticipants(cx, aParticipants); } \
NS_IMETHOD GetTimestamp(DOMTimeStamp *aTimestamp) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetTimestamp(aTimestamp); } \
NS_IMETHOD GetLastMessageType(nsAString & aLastMessageType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLastMessageType(aLastMessageType); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsDOMMozMobileMessageThread : public nsIDOMMozMobileMessageThread
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIDOMMOZMOBILEMESSAGETHREAD
nsDOMMozMobileMessageThread();
private:
~nsDOMMozMobileMessageThread();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsDOMMozMobileMessageThread, nsIDOMMozMobileMessageThread)
nsDOMMozMobileMessageThread::nsDOMMozMobileMessageThread()
{
/* member initializers and constructor code */
}
nsDOMMozMobileMessageThread::~nsDOMMozMobileMessageThread()
{
/* destructor code */
}
/* readonly attribute unsigned long long id; */
NS_IMETHODIMP nsDOMMozMobileMessageThread::GetId(uint64_t *aId)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString lastMessageSubject; */
NS_IMETHODIMP nsDOMMozMobileMessageThread::GetLastMessageSubject(nsAString & aLastMessageSubject)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString body; */
NS_IMETHODIMP nsDOMMozMobileMessageThread::GetBody(nsAString & aBody)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute unsigned long long unreadCount; */
NS_IMETHODIMP nsDOMMozMobileMessageThread::GetUnreadCount(uint64_t *aUnreadCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* [implicit_jscontext] readonly attribute jsval participants; */
NS_IMETHODIMP nsDOMMozMobileMessageThread::GetParticipants(JSContext* cx, JS::MutableHandleValue aParticipants)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMTimeStamp timestamp; */
NS_IMETHODIMP nsDOMMozMobileMessageThread::GetTimestamp(DOMTimeStamp *aTimestamp)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* readonly attribute DOMString lastMessageType; */
NS_IMETHODIMP nsDOMMozMobileMessageThread::GetLastMessageType(nsAString & aLastMessageType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIDOMMozMobileMessageThread_h__ */
|