1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/embedding/components/commandhandler/public/nsPICommandUpdater.idl
3 : */
4 :
5 : #ifndef __gen_nsPICommandUpdater_h__
6 : #define __gen_nsPICommandUpdater_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #ifndef __gen_domstubs_h__
14 : #include "domstubs.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 :
22 : /* starting interface: nsPICommandUpdater */
23 : #define NS_PICOMMANDUPDATER_IID_STR "b135f602-0bfe-11d5-a73c-f0e420e8293c"
24 :
25 : #define NS_PICOMMANDUPDATER_IID \
26 : {0xb135f602, 0x0bfe, 0x11d5, \
27 : { 0xa7, 0x3c, 0xf0, 0xe4, 0x20, 0xe8, 0x29, 0x3c }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsPICommandUpdater : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_PICOMMANDUPDATER_IID)
33 :
34 : /* void init (in nsIDOMWindow aWindow); */
35 : NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMWindow *aWindow) = 0;
36 :
37 : /* void commandStatusChanged (in string aCommandName); */
38 : NS_SCRIPTABLE NS_IMETHOD CommandStatusChanged(const char * aCommandName) = 0;
39 :
40 : };
41 :
42 : NS_DEFINE_STATIC_IID_ACCESSOR(nsPICommandUpdater, NS_PICOMMANDUPDATER_IID)
43 :
44 : /* Use this macro when declaring classes that implement this interface. */
45 : #define NS_DECL_NSPICOMMANDUPDATER \
46 : NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMWindow *aWindow); \
47 : NS_SCRIPTABLE NS_IMETHOD CommandStatusChanged(const char * aCommandName);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSPICOMMANDUPDATER(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMWindow *aWindow) { return _to Init(aWindow); } \
52 : NS_SCRIPTABLE NS_IMETHOD CommandStatusChanged(const char * aCommandName) { return _to CommandStatusChanged(aCommandName); }
53 :
54 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
55 : #define NS_FORWARD_SAFE_NSPICOMMANDUPDATER(_to) \
56 : NS_SCRIPTABLE NS_IMETHOD Init(nsIDOMWindow *aWindow) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aWindow); } \
57 : NS_SCRIPTABLE NS_IMETHOD CommandStatusChanged(const char * aCommandName) { return !_to ? NS_ERROR_NULL_POINTER : _to->CommandStatusChanged(aCommandName); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class _MYCLASS_ : public nsPICommandUpdater
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSPICOMMANDUPDATER
68 :
69 : _MYCLASS_();
70 :
71 : private:
72 : ~_MYCLASS_();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(_MYCLASS_, nsPICommandUpdater)
80 :
81 : _MYCLASS_::_MYCLASS_()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : _MYCLASS_::~_MYCLASS_()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* void init (in nsIDOMWindow aWindow); */
92 : NS_IMETHODIMP _MYCLASS_::Init(nsIDOMWindow *aWindow)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* void commandStatusChanged (in string aCommandName); */
98 : NS_IMETHODIMP _MYCLASS_::CommandStatusChanged(const char * aCommandName)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* End of implementation class template. */
104 : #endif
105 :
106 :
107 : #endif /* __gen_nsPICommandUpdater_h__ */
|