/usr/include/thunderbird/nsIMmsService.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 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM /build/buildd/thunderbird-24.4.0+build1/mozilla/dom/mobilemessage/interfaces/nsIMmsService.idl
*/
#ifndef __gen_nsIMmsService_h__
#define __gen_nsIMmsService_h__
#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif
#include "jspubtd.h"
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class nsIMobileMessageCallback; /* forward declaration */
class nsIDOMBlob; /* forward declaration */
#define MMS_SERVICE_CID { 0x06d9124b, 0x80e0, 0x40ed, \
{ 0x98, 0x71, 0x4d, 0x23, 0x4a, 0x0f, 0xd4, 0x31 } }
#define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1"
/* starting interface: nsIMmsService */
#define NS_IMMSSERVICE_IID_STR "e5ef630a-eab7-425a-ac42-650ef5c4fcef"
#define NS_IMMSSERVICE_IID \
{0xe5ef630a, 0xeab7, 0x425a, \
{ 0xac, 0x42, 0x65, 0x0e, 0xf5, 0xc4, 0xfc, 0xef }}
class NS_NO_VTABLE nsIMmsService : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMMSSERVICE_IID)
/* void send (in jsval parameters, in nsIMobileMessageCallback request); */
NS_IMETHOD Send(const JS::Value & parameters, nsIMobileMessageCallback *request) = 0;
/* void retrieve (in long id, in nsIMobileMessageCallback request); */
NS_IMETHOD Retrieve(int32_t id, nsIMobileMessageCallback *request) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMmsService, NS_IMMSSERVICE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMMSSERVICE \
NS_IMETHOD Send(const JS::Value & parameters, nsIMobileMessageCallback *request); \
NS_IMETHOD Retrieve(int32_t id, nsIMobileMessageCallback *request);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMMSSERVICE(_to) \
NS_IMETHOD Send(const JS::Value & parameters, nsIMobileMessageCallback *request) { return _to Send(parameters, request); } \
NS_IMETHOD Retrieve(int32_t id, nsIMobileMessageCallback *request) { return _to Retrieve(id, request); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMMSSERVICE(_to) \
NS_IMETHOD Send(const JS::Value & parameters, nsIMobileMessageCallback *request) { return !_to ? NS_ERROR_NULL_POINTER : _to->Send(parameters, request); } \
NS_IMETHOD Retrieve(int32_t id, nsIMobileMessageCallback *request) { return !_to ? NS_ERROR_NULL_POINTER : _to->Retrieve(id, request); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMmsService : public nsIMmsService
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMMSSERVICE
nsMmsService();
private:
~nsMmsService();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS1(nsMmsService, nsIMmsService)
nsMmsService::nsMmsService()
{
/* member initializers and constructor code */
}
nsMmsService::~nsMmsService()
{
/* destructor code */
}
/* void send (in jsval parameters, in nsIMobileMessageCallback request); */
NS_IMETHODIMP nsMmsService::Send(const JS::Value & parameters, nsIMobileMessageCallback *request)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void retrieve (in long id, in nsIMobileMessageCallback request); */
NS_IMETHODIMP nsMmsService::Retrieve(int32_t id, nsIMobileMessageCallback *request)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMmsService_h__ */
|