Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIToolkitChromeRegistry.idl
3 : */
4 :
5 : #ifndef __gen_nsIToolkitChromeRegistry_h__
6 : #define __gen_nsIToolkitChromeRegistry_h__
7 :
8 :
9 : #ifndef __gen_nsIChromeRegistry_h__
10 : #include "nsIChromeRegistry.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 : class nsIURI; /* forward declaration */
18 :
19 : class nsIUTF8StringEnumerator; /* forward declaration */
20 :
21 :
22 : /* starting interface: nsIToolkitChromeRegistry */
23 : #define NS_ITOOLKITCHROMEREGISTRY_IID_STR "8727651c-9530-45a0-b81e-0e0690c30c50"
24 :
25 : #define NS_ITOOLKITCHROMEREGISTRY_IID \
26 : {0x8727651c, 0x9530, 0x45a0, \
27 : { 0xb8, 0x1e, 0x0e, 0x06, 0x90, 0xc3, 0x0c, 0x50 }}
28 :
29 3 : class NS_NO_VTABLE nsIToolkitChromeRegistry : public nsIXULChromeRegistry {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITOOLKITCHROMEREGISTRY_IID)
33 :
34 : /* void checkForOSAccessibility (); */
35 : NS_IMETHOD CheckForOSAccessibility(void) = 0;
36 :
37 : /* nsIUTF8StringEnumerator getLocalesForPackage (in AUTF8String aPackage); */
38 : NS_IMETHOD GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval) = 0;
39 :
40 : };
41 :
42 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIToolkitChromeRegistry, NS_ITOOLKITCHROMEREGISTRY_IID)
43 :
44 : /* Use this macro when declaring classes that implement this interface. */
45 : #define NS_DECL_NSITOOLKITCHROMEREGISTRY \
46 : NS_IMETHOD CheckForOSAccessibility(void) override; \
47 : NS_IMETHOD GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval) 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_NSITOOLKITCHROMEREGISTRY \
52 : nsresult CheckForOSAccessibility(void); \
53 : nsresult GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval);
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
56 : #define NS_FORWARD_NSITOOLKITCHROMEREGISTRY(_to) \
57 : NS_IMETHOD CheckForOSAccessibility(void) override { return _to CheckForOSAccessibility(); } \
58 : NS_IMETHOD GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval) override { return _to GetLocalesForPackage(aPackage, _retval); }
59 :
60 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
61 : #define NS_FORWARD_SAFE_NSITOOLKITCHROMEREGISTRY(_to) \
62 : NS_IMETHOD CheckForOSAccessibility(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckForOSAccessibility(); } \
63 : NS_IMETHOD GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalesForPackage(aPackage, _retval); }
64 :
65 : #if 0
66 : /* Use the code below as a template for the implementation class for this interface. */
67 :
68 : /* Header file */
69 : class nsToolkitChromeRegistry : public nsIToolkitChromeRegistry
70 : {
71 : public:
72 : NS_DECL_ISUPPORTS
73 : NS_DECL_NSITOOLKITCHROMEREGISTRY
74 :
75 : nsToolkitChromeRegistry();
76 :
77 : private:
78 : ~nsToolkitChromeRegistry();
79 :
80 : protected:
81 : /* additional members */
82 : };
83 :
84 : /* Implementation file */
85 : NS_IMPL_ISUPPORTS(nsToolkitChromeRegistry, nsIToolkitChromeRegistry)
86 :
87 : nsToolkitChromeRegistry::nsToolkitChromeRegistry()
88 : {
89 : /* member initializers and constructor code */
90 : }
91 :
92 : nsToolkitChromeRegistry::~nsToolkitChromeRegistry()
93 : {
94 : /* destructor code */
95 : }
96 :
97 : /* void checkForOSAccessibility (); */
98 : NS_IMETHODIMP nsToolkitChromeRegistry::CheckForOSAccessibility()
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* nsIUTF8StringEnumerator getLocalesForPackage (in AUTF8String aPackage); */
104 : NS_IMETHODIMP nsToolkitChromeRegistry::GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval)
105 : {
106 : return NS_ERROR_NOT_IMPLEMENTED;
107 : }
108 :
109 : /* End of implementation class template. */
110 : #endif
111 :
112 :
113 : #endif /* __gen_nsIToolkitChromeRegistry_h__ */
|