Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIOSFileConstantsService.idl
3 : */
4 :
5 : #ifndef __gen_nsIOSFileConstantsService_h__
6 : #define __gen_nsIOSFileConstantsService_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : #include "js/Value.h"
14 :
15 : /* For IDL files that don't want to include root IDL files. */
16 : #ifndef NS_NO_VTABLE
17 : #define NS_NO_VTABLE
18 : #endif
19 :
20 : /* starting interface: nsIOSFileConstantsService */
21 : #define NS_IOSFILECONSTANTSSERVICE_IID_STR "d6dd239f-34d6-4b34-baa1-f69ab4a20bc4"
22 :
23 : #define NS_IOSFILECONSTANTSSERVICE_IID \
24 : {0xd6dd239f, 0x34d6, 0x4b34, \
25 : { 0xba, 0xa1, 0xf6, 0x9a, 0xb4, 0xa2, 0x0b, 0xc4 }}
26 :
27 1 : class NS_NO_VTABLE nsIOSFileConstantsService : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IOSFILECONSTANTSSERVICE_IID)
31 :
32 : /* [implicit_jscontext] void init (); */
33 : NS_IMETHOD Init(JSContext* cx) = 0;
34 :
35 : };
36 :
37 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIOSFileConstantsService, NS_IOSFILECONSTANTSSERVICE_IID)
38 :
39 : /* Use this macro when declaring classes that implement this interface. */
40 : #define NS_DECL_NSIOSFILECONSTANTSSERVICE \
41 : NS_IMETHOD Init(JSContext* cx) override;
42 :
43 : /* Use this macro when declaring the members of this interface when the
44 : class doesn't implement the interface. This is useful for forwarding. */
45 : #define NS_DECL_NON_VIRTUAL_NSIOSFILECONSTANTSSERVICE \
46 : nsresult Init(JSContext* cx);
47 :
48 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
49 : #define NS_FORWARD_NSIOSFILECONSTANTSSERVICE(_to) \
50 : NS_IMETHOD Init(JSContext* cx) override { return _to Init(cx); }
51 :
52 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
53 : #define NS_FORWARD_SAFE_NSIOSFILECONSTANTSSERVICE(_to) \
54 : NS_IMETHOD Init(JSContext* cx) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(cx); }
55 :
56 : #if 0
57 : /* Use the code below as a template for the implementation class for this interface. */
58 :
59 : /* Header file */
60 : class nsOSFileConstantsService : public nsIOSFileConstantsService
61 : {
62 : public:
63 : NS_DECL_ISUPPORTS
64 : NS_DECL_NSIOSFILECONSTANTSSERVICE
65 :
66 : nsOSFileConstantsService();
67 :
68 : private:
69 : ~nsOSFileConstantsService();
70 :
71 : protected:
72 : /* additional members */
73 : };
74 :
75 : /* Implementation file */
76 : NS_IMPL_ISUPPORTS(nsOSFileConstantsService, nsIOSFileConstantsService)
77 :
78 : nsOSFileConstantsService::nsOSFileConstantsService()
79 : {
80 : /* member initializers and constructor code */
81 : }
82 :
83 : nsOSFileConstantsService::~nsOSFileConstantsService()
84 : {
85 : /* destructor code */
86 : }
87 :
88 : /* [implicit_jscontext] void init (); */
89 : NS_IMETHODIMP nsOSFileConstantsService::Init(JSContext* cx)
90 : {
91 : return NS_ERROR_NOT_IMPLEMENTED;
92 : }
93 :
94 : /* End of implementation class template. */
95 : #endif
96 :
97 :
98 : // {4BBE1B96-8956-457F-A03F-9C27435F2AFA}
99 : #define OSFILECONSTANTSSERVICE_CID {0x4BBE1B96,0x8956,0x457F,{0xA0,0x3F,0x9C,0x27,0x43,0x5F,0x2A,0xFA}}
100 : #define OSFILECONSTANTSSERVICE_CONTRACTID "@mozilla.org/net/osfileconstantsservice;1"
101 :
102 : #endif /* __gen_nsIOSFileConstantsService_h__ */
|