1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/chrome/public/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 1419 : class NS_NO_VTABLE NS_SCRIPTABLE nsIToolkitChromeRegistry : public nsIXULChromeRegistry {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITOOLKITCHROMEREGISTRY_IID)
33 :
34 : /* void checkForOSAccessibility (); */
35 : NS_SCRIPTABLE NS_IMETHOD CheckForOSAccessibility(void) = 0;
36 :
37 : /* nsIUTF8StringEnumerator getLocalesForPackage (in AUTF8String aPackage); */
38 : NS_SCRIPTABLE NS_IMETHOD GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval NS_OUTPARAM) = 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_SCRIPTABLE NS_IMETHOD CheckForOSAccessibility(void); \
47 : NS_SCRIPTABLE NS_IMETHOD GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval NS_OUTPARAM);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSITOOLKITCHROMEREGISTRY(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD CheckForOSAccessibility(void) { return _to CheckForOSAccessibility(); } \
52 : NS_SCRIPTABLE NS_IMETHOD GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval NS_OUTPARAM) { return _to GetLocalesForPackage(aPackage, _retval); }
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_NSITOOLKITCHROMEREGISTRY(_to) \
56 : NS_SCRIPTABLE NS_IMETHOD CheckForOSAccessibility(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CheckForOSAccessibility(); } \
57 : NS_SCRIPTABLE NS_IMETHOD GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetLocalesForPackage(aPackage, _retval); }
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 nsToolkitChromeRegistry : public nsIToolkitChromeRegistry
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSITOOLKITCHROMEREGISTRY
68 :
69 : nsToolkitChromeRegistry();
70 :
71 : private:
72 : ~nsToolkitChromeRegistry();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsToolkitChromeRegistry, nsIToolkitChromeRegistry)
80 :
81 : nsToolkitChromeRegistry::nsToolkitChromeRegistry()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsToolkitChromeRegistry::~nsToolkitChromeRegistry()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* void checkForOSAccessibility (); */
92 : NS_IMETHODIMP nsToolkitChromeRegistry::CheckForOSAccessibility()
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* nsIUTF8StringEnumerator getLocalesForPackage (in AUTF8String aPackage); */
98 : NS_IMETHODIMP nsToolkitChromeRegistry::GetLocalesForPackage(const nsACString & aPackage, nsIUTF8StringEnumerator * *_retval NS_OUTPARAM)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* End of implementation class template. */
104 : #endif
105 :
106 :
107 : #endif /* __gen_nsIToolkitChromeRegistry_h__ */
|