1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/dom/sms/interfaces/nsIDOMSmsEvent.idl
3 : */
4 :
5 : #ifndef __gen_nsIDOMSmsEvent_h__
6 : #define __gen_nsIDOMSmsEvent_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_nsIDOMEvent_h__
14 : #include "nsIDOMEvent.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 : class nsIDOMMozSmsMessage; /* forward declaration */
22 :
23 :
24 : /* starting interface: nsIDOMMozSmsEvent */
25 : #define NS_IDOMMOZSMSEVENT_IID_STR "fa8d1c86-85b1-4e5b-978c-12dd296cd1cc"
26 :
27 : #define NS_IDOMMOZSMSEVENT_IID \
28 : {0xfa8d1c86, 0x85b1, 0x4e5b, \
29 : { 0x97, 0x8c, 0x12, 0xdd, 0x29, 0x6c, 0xd1, 0xcc }}
30 :
31 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIDOMMozSmsEvent : public nsIDOMEvent {
32 : public:
33 :
34 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOMMOZSMSEVENT_IID)
35 :
36 : /* [binaryname(MessageMoz)] readonly attribute nsIDOMMozSmsMessage message; */
37 : NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(nsIDOMMozSmsMessage * *aMessage) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDOMMozSmsEvent, NS_IDOMMOZSMSEVENT_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIDOMMOZSMSEVENT \
45 : NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(nsIDOMMozSmsMessage * *aMessage);
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
48 : #define NS_FORWARD_NSIDOMMOZSMSEVENT(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(nsIDOMMozSmsMessage * *aMessage) { return _to GetMessageMoz(aMessage); }
50 :
51 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
52 : #define NS_FORWARD_SAFE_NSIDOMMOZSMSEVENT(_to) \
53 : NS_SCRIPTABLE NS_IMETHOD GetMessageMoz(nsIDOMMozSmsMessage * *aMessage) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMessageMoz(aMessage); }
54 :
55 : #if 0
56 : /* Use the code below as a template for the implementation class for this interface. */
57 :
58 : /* Header file */
59 : class nsDOMMozSmsEvent : public nsIDOMMozSmsEvent
60 : {
61 : public:
62 : NS_DECL_ISUPPORTS
63 : NS_DECL_NSIDOMMOZSMSEVENT
64 :
65 : nsDOMMozSmsEvent();
66 :
67 : private:
68 : ~nsDOMMozSmsEvent();
69 :
70 : protected:
71 : /* additional members */
72 : };
73 :
74 : /* Implementation file */
75 : NS_IMPL_ISUPPORTS1(nsDOMMozSmsEvent, nsIDOMMozSmsEvent)
76 :
77 : nsDOMMozSmsEvent::nsDOMMozSmsEvent()
78 : {
79 : /* member initializers and constructor code */
80 : }
81 :
82 : nsDOMMozSmsEvent::~nsDOMMozSmsEvent()
83 : {
84 : /* destructor code */
85 : }
86 :
87 : /* [binaryname(MessageMoz)] readonly attribute nsIDOMMozSmsMessage message; */
88 : NS_IMETHODIMP nsDOMMozSmsEvent::GetMessageMoz(nsIDOMMozSmsMessage * *aMessage)
89 : {
90 : return NS_ERROR_NOT_IMPLEMENTED;
91 : }
92 :
93 : /* End of implementation class template. */
94 : #endif
95 :
96 :
97 : #endif /* __gen_nsIDOMSmsEvent_h__ */
|