Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIBidiKeyboard.idl
3 : */
4 :
5 : #ifndef __gen_nsIBidiKeyboard_h__
6 : #define __gen_nsIBidiKeyboard_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 :
18 : /* starting interface: nsIBidiKeyboard */
19 : #define NS_IBIDIKEYBOARD_IID_STR "288dae24-76e2-43a3-befe-9d9fabe8014e"
20 :
21 : #define NS_IBIDIKEYBOARD_IID \
22 : {0x288dae24, 0x76e2, 0x43a3, \
23 : { 0xbe, 0xfe, 0x9d, 0x9f, 0xab, 0xe8, 0x01, 0x4e }}
24 :
25 3 : class NS_NO_VTABLE nsIBidiKeyboard : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IBIDIKEYBOARD_IID)
29 :
30 : /* void reset (); */
31 : NS_IMETHOD Reset(void) = 0;
32 :
33 : /* boolean isLangRTL (); */
34 : NS_IMETHOD IsLangRTL(bool *_retval) = 0;
35 :
36 : /* readonly attribute boolean haveBidiKeyboards; */
37 : NS_IMETHOD GetHaveBidiKeyboards(bool *aHaveBidiKeyboards) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIBidiKeyboard, NS_IBIDIKEYBOARD_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIBIDIKEYBOARD \
45 : NS_IMETHOD Reset(void) override; \
46 : NS_IMETHOD IsLangRTL(bool *_retval) override; \
47 : NS_IMETHOD GetHaveBidiKeyboards(bool *aHaveBidiKeyboards) override;
48 :
49 : /* Use this macro when declaring the members of this interface when the
50 : class doesn't implement the interface. This is useful for forwarding. */
51 : #define NS_DECL_NON_VIRTUAL_NSIBIDIKEYBOARD \
52 : nsresult Reset(void); \
53 : nsresult IsLangRTL(bool *_retval); \
54 : nsresult GetHaveBidiKeyboards(bool *aHaveBidiKeyboards);
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
57 : #define NS_FORWARD_NSIBIDIKEYBOARD(_to) \
58 : NS_IMETHOD Reset(void) override { return _to Reset(); } \
59 : NS_IMETHOD IsLangRTL(bool *_retval) override { return _to IsLangRTL(_retval); } \
60 : NS_IMETHOD GetHaveBidiKeyboards(bool *aHaveBidiKeyboards) override { return _to GetHaveBidiKeyboards(aHaveBidiKeyboards); }
61 :
62 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
63 : #define NS_FORWARD_SAFE_NSIBIDIKEYBOARD(_to) \
64 : NS_IMETHOD Reset(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Reset(); } \
65 : NS_IMETHOD IsLangRTL(bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->IsLangRTL(_retval); } \
66 : NS_IMETHOD GetHaveBidiKeyboards(bool *aHaveBidiKeyboards) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHaveBidiKeyboards(aHaveBidiKeyboards); }
67 :
68 : #if 0
69 : /* Use the code below as a template for the implementation class for this interface. */
70 :
71 : /* Header file */
72 : class nsBidiKeyboard : public nsIBidiKeyboard
73 : {
74 : public:
75 : NS_DECL_ISUPPORTS
76 : NS_DECL_NSIBIDIKEYBOARD
77 :
78 : nsBidiKeyboard();
79 :
80 : private:
81 : ~nsBidiKeyboard();
82 :
83 : protected:
84 : /* additional members */
85 : };
86 :
87 : /* Implementation file */
88 : NS_IMPL_ISUPPORTS(nsBidiKeyboard, nsIBidiKeyboard)
89 :
90 : nsBidiKeyboard::nsBidiKeyboard()
91 : {
92 : /* member initializers and constructor code */
93 : }
94 :
95 : nsBidiKeyboard::~nsBidiKeyboard()
96 : {
97 : /* destructor code */
98 : }
99 :
100 : /* void reset (); */
101 : NS_IMETHODIMP nsBidiKeyboard::Reset()
102 : {
103 : return NS_ERROR_NOT_IMPLEMENTED;
104 : }
105 :
106 : /* boolean isLangRTL (); */
107 : NS_IMETHODIMP nsBidiKeyboard::IsLangRTL(bool *_retval)
108 : {
109 : return NS_ERROR_NOT_IMPLEMENTED;
110 : }
111 :
112 : /* readonly attribute boolean haveBidiKeyboards; */
113 : NS_IMETHODIMP nsBidiKeyboard::GetHaveBidiKeyboards(bool *aHaveBidiKeyboards)
114 : {
115 : return NS_ERROR_NOT_IMPLEMENTED;
116 : }
117 :
118 : /* End of implementation class template. */
119 : #endif
120 :
121 :
122 : #endif /* __gen_nsIBidiKeyboard_h__ */
|