Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIRaceCacheWithNetwork.idl
3 : */
4 :
5 : #ifndef __gen_nsIRaceCacheWithNetwork_h__
6 : #define __gen_nsIRaceCacheWithNetwork_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: nsIRaceCacheWithNetwork */
19 : #define NS_IRACECACHEWITHNETWORK_IID_STR "4d963475-8b16-4c58-b804-8a23d49436c5"
20 :
21 : #define NS_IRACECACHEWITHNETWORK_IID \
22 : {0x4d963475, 0x8b16, 0x4c58, \
23 : { 0xb8, 0x04, 0x8a, 0x23, 0xd4, 0x94, 0x36, 0xc5 }}
24 :
25 7 : class NS_NO_VTABLE nsIRaceCacheWithNetwork : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IRACECACHEWITHNETWORK_IID)
29 :
30 : /* void test_triggerNetwork (in long timeout); */
31 : NS_IMETHOD Test_triggerNetwork(int32_t timeout) = 0;
32 :
33 : /* void test_delayCacheEntryOpeningBy (in long timeout); */
34 : NS_IMETHOD Test_delayCacheEntryOpeningBy(int32_t timeout) = 0;
35 :
36 : /* void test_triggerDelayedOpenCacheEntry (); */
37 : NS_IMETHOD Test_triggerDelayedOpenCacheEntry(void) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIRaceCacheWithNetwork, NS_IRACECACHEWITHNETWORK_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIRACECACHEWITHNETWORK \
45 : NS_IMETHOD Test_triggerNetwork(int32_t timeout) override; \
46 : NS_IMETHOD Test_delayCacheEntryOpeningBy(int32_t timeout) override; \
47 : NS_IMETHOD Test_triggerDelayedOpenCacheEntry(void) 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_NSIRACECACHEWITHNETWORK \
52 : nsresult Test_triggerNetwork(int32_t timeout); \
53 : nsresult Test_delayCacheEntryOpeningBy(int32_t timeout); \
54 : nsresult Test_triggerDelayedOpenCacheEntry(void);
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
57 : #define NS_FORWARD_NSIRACECACHEWITHNETWORK(_to) \
58 : NS_IMETHOD Test_triggerNetwork(int32_t timeout) override { return _to Test_triggerNetwork(timeout); } \
59 : NS_IMETHOD Test_delayCacheEntryOpeningBy(int32_t timeout) override { return _to Test_delayCacheEntryOpeningBy(timeout); } \
60 : NS_IMETHOD Test_triggerDelayedOpenCacheEntry(void) override { return _to Test_triggerDelayedOpenCacheEntry(); }
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_NSIRACECACHEWITHNETWORK(_to) \
64 : NS_IMETHOD Test_triggerNetwork(int32_t timeout) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Test_triggerNetwork(timeout); } \
65 : NS_IMETHOD Test_delayCacheEntryOpeningBy(int32_t timeout) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Test_delayCacheEntryOpeningBy(timeout); } \
66 : NS_IMETHOD Test_triggerDelayedOpenCacheEntry(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Test_triggerDelayedOpenCacheEntry(); }
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 nsRaceCacheWithNetwork : public nsIRaceCacheWithNetwork
73 : {
74 : public:
75 : NS_DECL_ISUPPORTS
76 : NS_DECL_NSIRACECACHEWITHNETWORK
77 :
78 : nsRaceCacheWithNetwork();
79 :
80 : private:
81 : ~nsRaceCacheWithNetwork();
82 :
83 : protected:
84 : /* additional members */
85 : };
86 :
87 : /* Implementation file */
88 : NS_IMPL_ISUPPORTS(nsRaceCacheWithNetwork, nsIRaceCacheWithNetwork)
89 :
90 : nsRaceCacheWithNetwork::nsRaceCacheWithNetwork()
91 : {
92 : /* member initializers and constructor code */
93 : }
94 :
95 : nsRaceCacheWithNetwork::~nsRaceCacheWithNetwork()
96 : {
97 : /* destructor code */
98 : }
99 :
100 : /* void test_triggerNetwork (in long timeout); */
101 : NS_IMETHODIMP nsRaceCacheWithNetwork::Test_triggerNetwork(int32_t timeout)
102 : {
103 : return NS_ERROR_NOT_IMPLEMENTED;
104 : }
105 :
106 : /* void test_delayCacheEntryOpeningBy (in long timeout); */
107 : NS_IMETHODIMP nsRaceCacheWithNetwork::Test_delayCacheEntryOpeningBy(int32_t timeout)
108 : {
109 : return NS_ERROR_NOT_IMPLEMENTED;
110 : }
111 :
112 : /* void test_triggerDelayedOpenCacheEntry (); */
113 : NS_IMETHODIMP nsRaceCacheWithNetwork::Test_triggerDelayedOpenCacheEntry()
114 : {
115 : return NS_ERROR_NOT_IMPLEMENTED;
116 : }
117 :
118 : /* End of implementation class template. */
119 : #endif
120 :
121 :
122 : #endif /* __gen_nsIRaceCacheWithNetwork_h__ */
|