1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/widget/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 "99957506-f21b-4a61-ad64-5b641cf508e2"
20 :
21 : #define NS_IBIDIKEYBOARD_IID \
22 : {0x99957506, 0xf21b, 0x4a61, \
23 : { 0xad, 0x64, 0x5b, 0x64, 0x1c, 0xf5, 0x08, 0xe2 }}
24 :
25 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIBidiKeyboard : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IBIDIKEYBOARD_IID)
29 :
30 : /* boolean isLangRTL (); */
31 : NS_SCRIPTABLE NS_IMETHOD IsLangRTL(bool *_retval NS_OUTPARAM) = 0;
32 :
33 : /* void setLangFromBidiLevel (in PRUint8 aLevel); */
34 : NS_SCRIPTABLE NS_IMETHOD SetLangFromBidiLevel(PRUint8 aLevel) = 0;
35 :
36 : /* readonly attribute boolean haveBidiKeyboards; */
37 : NS_SCRIPTABLE 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_SCRIPTABLE NS_IMETHOD IsLangRTL(bool *_retval NS_OUTPARAM); \
46 : NS_SCRIPTABLE NS_IMETHOD SetLangFromBidiLevel(PRUint8 aLevel); \
47 : NS_SCRIPTABLE NS_IMETHOD GetHaveBidiKeyboards(bool *aHaveBidiKeyboards);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIBIDIKEYBOARD(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD IsLangRTL(bool *_retval NS_OUTPARAM) { return _to IsLangRTL(_retval); } \
52 : NS_SCRIPTABLE NS_IMETHOD SetLangFromBidiLevel(PRUint8 aLevel) { return _to SetLangFromBidiLevel(aLevel); } \
53 : NS_SCRIPTABLE NS_IMETHOD GetHaveBidiKeyboards(bool *aHaveBidiKeyboards) { return _to GetHaveBidiKeyboards(aHaveBidiKeyboards); }
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
56 : #define NS_FORWARD_SAFE_NSIBIDIKEYBOARD(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD IsLangRTL(bool *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->IsLangRTL(_retval); } \
58 : NS_SCRIPTABLE NS_IMETHOD SetLangFromBidiLevel(PRUint8 aLevel) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetLangFromBidiLevel(aLevel); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetHaveBidiKeyboards(bool *aHaveBidiKeyboards) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHaveBidiKeyboards(aHaveBidiKeyboards); }
60 :
61 : #if 0
62 : /* Use the code below as a template for the implementation class for this interface. */
63 :
64 : /* Header file */
65 : class nsBidiKeyboard : public nsIBidiKeyboard
66 : {
67 : public:
68 : NS_DECL_ISUPPORTS
69 : NS_DECL_NSIBIDIKEYBOARD
70 :
71 : nsBidiKeyboard();
72 :
73 : private:
74 : ~nsBidiKeyboard();
75 :
76 : protected:
77 : /* additional members */
78 : };
79 :
80 : /* Implementation file */
81 : NS_IMPL_ISUPPORTS1(nsBidiKeyboard, nsIBidiKeyboard)
82 :
83 : nsBidiKeyboard::nsBidiKeyboard()
84 : {
85 : /* member initializers and constructor code */
86 : }
87 :
88 : nsBidiKeyboard::~nsBidiKeyboard()
89 : {
90 : /* destructor code */
91 : }
92 :
93 : /* boolean isLangRTL (); */
94 : NS_IMETHODIMP nsBidiKeyboard::IsLangRTL(bool *_retval NS_OUTPARAM)
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* void setLangFromBidiLevel (in PRUint8 aLevel); */
100 : NS_IMETHODIMP nsBidiKeyboard::SetLangFromBidiLevel(PRUint8 aLevel)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* readonly attribute boolean haveBidiKeyboards; */
106 : NS_IMETHODIMP nsBidiKeyboard::GetHaveBidiKeyboards(bool *aHaveBidiKeyboards)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* End of implementation class template. */
112 : #endif
113 :
114 :
115 : #endif /* __gen_nsIBidiKeyboard_h__ */
|