Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIHTMLInlineTableEditor.idl
3 : */
4 :
5 : #ifndef __gen_nsIHTMLInlineTableEditor_h__
6 : #define __gen_nsIHTMLInlineTableEditor_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: nsIHTMLInlineTableEditor */
23 : #define NS_IHTMLINLINETABLEEDITOR_IID_STR "eda2e65c-a758-451f-9b05-77cb8de74ed2"
24 :
25 : #define NS_IHTMLINLINETABLEEDITOR_IID \
26 : {0xeda2e65c, 0xa758, 0x451f, \
27 : { 0x9b, 0x05, 0x77, 0xcb, 0x8d, 0xe7, 0x4e, 0xd2 }}
28 :
29 0 : class NS_NO_VTABLE nsIHTMLInlineTableEditor : public nsISupports {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IHTMLINLINETABLEEDITOR_IID)
33 :
34 : /* attribute boolean inlineTableEditingEnabled; */
35 : NS_IMETHOD GetInlineTableEditingEnabled(bool *aInlineTableEditingEnabled) = 0;
36 : NS_IMETHOD SetInlineTableEditingEnabled(bool aInlineTableEditingEnabled) = 0;
37 :
38 : /* void showInlineTableEditingUI (in nsIDOMElement aCell); */
39 : NS_IMETHOD ShowInlineTableEditingUI(nsIDOMElement *aCell) = 0;
40 :
41 : /* void hideInlineTableEditingUI (); */
42 : NS_IMETHOD HideInlineTableEditingUI(void) = 0;
43 :
44 : /* void doInlineTableEditingAction (in nsIDOMElement aUIAnonymousElement); */
45 : NS_IMETHOD DoInlineTableEditingAction(nsIDOMElement *aUIAnonymousElement) = 0;
46 :
47 : /* void refreshInlineTableEditingUI (); */
48 : NS_IMETHOD RefreshInlineTableEditingUI(void) = 0;
49 :
50 : };
51 :
52 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIHTMLInlineTableEditor, NS_IHTMLINLINETABLEEDITOR_IID)
53 :
54 : /* Use this macro when declaring classes that implement this interface. */
55 : #define NS_DECL_NSIHTMLINLINETABLEEDITOR \
56 : NS_IMETHOD GetInlineTableEditingEnabled(bool *aInlineTableEditingEnabled) override; \
57 : NS_IMETHOD SetInlineTableEditingEnabled(bool aInlineTableEditingEnabled) override; \
58 : NS_IMETHOD ShowInlineTableEditingUI(nsIDOMElement *aCell) override; \
59 : NS_IMETHOD HideInlineTableEditingUI(void) override; \
60 : NS_IMETHOD DoInlineTableEditingAction(nsIDOMElement *aUIAnonymousElement) override; \
61 : NS_IMETHOD RefreshInlineTableEditingUI(void) override;
62 :
63 : /* Use this macro when declaring the members of this interface when the
64 : class doesn't implement the interface. This is useful for forwarding. */
65 : #define NS_DECL_NON_VIRTUAL_NSIHTMLINLINETABLEEDITOR \
66 : nsresult GetInlineTableEditingEnabled(bool *aInlineTableEditingEnabled); \
67 : nsresult SetInlineTableEditingEnabled(bool aInlineTableEditingEnabled); \
68 : nsresult ShowInlineTableEditingUI(nsIDOMElement *aCell); \
69 : nsresult HideInlineTableEditingUI(void); \
70 : nsresult DoInlineTableEditingAction(nsIDOMElement *aUIAnonymousElement); \
71 : nsresult RefreshInlineTableEditingUI(void);
72 :
73 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
74 : #define NS_FORWARD_NSIHTMLINLINETABLEEDITOR(_to) \
75 : NS_IMETHOD GetInlineTableEditingEnabled(bool *aInlineTableEditingEnabled) override { return _to GetInlineTableEditingEnabled(aInlineTableEditingEnabled); } \
76 : NS_IMETHOD SetInlineTableEditingEnabled(bool aInlineTableEditingEnabled) override { return _to SetInlineTableEditingEnabled(aInlineTableEditingEnabled); } \
77 : NS_IMETHOD ShowInlineTableEditingUI(nsIDOMElement *aCell) override { return _to ShowInlineTableEditingUI(aCell); } \
78 : NS_IMETHOD HideInlineTableEditingUI(void) override { return _to HideInlineTableEditingUI(); } \
79 : NS_IMETHOD DoInlineTableEditingAction(nsIDOMElement *aUIAnonymousElement) override { return _to DoInlineTableEditingAction(aUIAnonymousElement); } \
80 : NS_IMETHOD RefreshInlineTableEditingUI(void) override { return _to RefreshInlineTableEditingUI(); }
81 :
82 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
83 : #define NS_FORWARD_SAFE_NSIHTMLINLINETABLEEDITOR(_to) \
84 : NS_IMETHOD GetInlineTableEditingEnabled(bool *aInlineTableEditingEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInlineTableEditingEnabled(aInlineTableEditingEnabled); } \
85 : NS_IMETHOD SetInlineTableEditingEnabled(bool aInlineTableEditingEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetInlineTableEditingEnabled(aInlineTableEditingEnabled); } \
86 : NS_IMETHOD ShowInlineTableEditingUI(nsIDOMElement *aCell) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowInlineTableEditingUI(aCell); } \
87 : NS_IMETHOD HideInlineTableEditingUI(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->HideInlineTableEditingUI(); } \
88 : NS_IMETHOD DoInlineTableEditingAction(nsIDOMElement *aUIAnonymousElement) override { return !_to ? NS_ERROR_NULL_POINTER : _to->DoInlineTableEditingAction(aUIAnonymousElement); } \
89 : NS_IMETHOD RefreshInlineTableEditingUI(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RefreshInlineTableEditingUI(); }
90 :
91 : #if 0
92 : /* Use the code below as a template for the implementation class for this interface. */
93 :
94 : /* Header file */
95 : class nsHTMLInlineTableEditor : public nsIHTMLInlineTableEditor
96 : {
97 : public:
98 : NS_DECL_ISUPPORTS
99 : NS_DECL_NSIHTMLINLINETABLEEDITOR
100 :
101 : nsHTMLInlineTableEditor();
102 :
103 : private:
104 : ~nsHTMLInlineTableEditor();
105 :
106 : protected:
107 : /* additional members */
108 : };
109 :
110 : /* Implementation file */
111 : NS_IMPL_ISUPPORTS(nsHTMLInlineTableEditor, nsIHTMLInlineTableEditor)
112 :
113 : nsHTMLInlineTableEditor::nsHTMLInlineTableEditor()
114 : {
115 : /* member initializers and constructor code */
116 : }
117 :
118 : nsHTMLInlineTableEditor::~nsHTMLInlineTableEditor()
119 : {
120 : /* destructor code */
121 : }
122 :
123 : /* attribute boolean inlineTableEditingEnabled; */
124 : NS_IMETHODIMP nsHTMLInlineTableEditor::GetInlineTableEditingEnabled(bool *aInlineTableEditingEnabled)
125 : {
126 : return NS_ERROR_NOT_IMPLEMENTED;
127 : }
128 : NS_IMETHODIMP nsHTMLInlineTableEditor::SetInlineTableEditingEnabled(bool aInlineTableEditingEnabled)
129 : {
130 : return NS_ERROR_NOT_IMPLEMENTED;
131 : }
132 :
133 : /* void showInlineTableEditingUI (in nsIDOMElement aCell); */
134 : NS_IMETHODIMP nsHTMLInlineTableEditor::ShowInlineTableEditingUI(nsIDOMElement *aCell)
135 : {
136 : return NS_ERROR_NOT_IMPLEMENTED;
137 : }
138 :
139 : /* void hideInlineTableEditingUI (); */
140 : NS_IMETHODIMP nsHTMLInlineTableEditor::HideInlineTableEditingUI()
141 : {
142 : return NS_ERROR_NOT_IMPLEMENTED;
143 : }
144 :
145 : /* void doInlineTableEditingAction (in nsIDOMElement aUIAnonymousElement); */
146 : NS_IMETHODIMP nsHTMLInlineTableEditor::DoInlineTableEditingAction(nsIDOMElement *aUIAnonymousElement)
147 : {
148 : return NS_ERROR_NOT_IMPLEMENTED;
149 : }
150 :
151 : /* void refreshInlineTableEditingUI (); */
152 : NS_IMETHODIMP nsHTMLInlineTableEditor::RefreshInlineTableEditingUI()
153 : {
154 : return NS_ERROR_NOT_IMPLEMENTED;
155 : }
156 :
157 : /* End of implementation class template. */
158 : #endif
159 :
160 :
161 : #endif /* __gen_nsIHTMLInlineTableEditor_h__ */
|