Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIBFCacheEntry.idl
3 : */
4 :
5 : #ifndef __gen_nsIBFCacheEntry_h__
6 : #define __gen_nsIBFCacheEntry_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: nsIBFCacheEntry */
19 : #define NS_IBFCACHEENTRY_IID_STR "a576060e-c7df-4d81-aa8c-5b52bd6ad25d"
20 :
21 : #define NS_IBFCACHEENTRY_IID \
22 : {0xa576060e, 0xc7df, 0x4d81, \
23 : { 0xaa, 0x8c, 0x5b, 0x52, 0xbd, 0x6a, 0xd2, 0x5d }}
24 :
25 1 : class NS_NO_VTABLE nsIBFCacheEntry : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IBFCACHEENTRY_IID)
29 :
30 : /* void RemoveFromBFCacheSync (); */
31 : NS_IMETHOD RemoveFromBFCacheSync(void) = 0;
32 :
33 : /* void RemoveFromBFCacheAsync (); */
34 : NS_IMETHOD RemoveFromBFCacheAsync(void) = 0;
35 :
36 : /* readonly attribute unsigned long long ID; */
37 : NS_IMETHOD GetID(uint64_t *aID) = 0;
38 :
39 : };
40 :
41 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIBFCacheEntry, NS_IBFCACHEENTRY_IID)
42 :
43 : /* Use this macro when declaring classes that implement this interface. */
44 : #define NS_DECL_NSIBFCACHEENTRY \
45 : NS_IMETHOD RemoveFromBFCacheSync(void) override; \
46 : NS_IMETHOD RemoveFromBFCacheAsync(void) override; \
47 : NS_IMETHOD GetID(uint64_t *aID) 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_NSIBFCACHEENTRY \
52 : nsresult RemoveFromBFCacheSync(void); \
53 : nsresult RemoveFromBFCacheAsync(void); \
54 : nsresult GetID(uint64_t *aID);
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
57 : #define NS_FORWARD_NSIBFCACHEENTRY(_to) \
58 : NS_IMETHOD RemoveFromBFCacheSync(void) override { return _to RemoveFromBFCacheSync(); } \
59 : NS_IMETHOD RemoveFromBFCacheAsync(void) override { return _to RemoveFromBFCacheAsync(); } \
60 : NS_IMETHOD GetID(uint64_t *aID) override { return _to GetID(aID); }
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_NSIBFCACHEENTRY(_to) \
64 : NS_IMETHOD RemoveFromBFCacheSync(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFromBFCacheSync(); } \
65 : NS_IMETHOD RemoveFromBFCacheAsync(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFromBFCacheAsync(); } \
66 : NS_IMETHOD GetID(uint64_t *aID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetID(aID); }
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 nsBFCacheEntry : public nsIBFCacheEntry
73 : {
74 : public:
75 : NS_DECL_ISUPPORTS
76 : NS_DECL_NSIBFCACHEENTRY
77 :
78 : nsBFCacheEntry();
79 :
80 : private:
81 : ~nsBFCacheEntry();
82 :
83 : protected:
84 : /* additional members */
85 : };
86 :
87 : /* Implementation file */
88 : NS_IMPL_ISUPPORTS(nsBFCacheEntry, nsIBFCacheEntry)
89 :
90 : nsBFCacheEntry::nsBFCacheEntry()
91 : {
92 : /* member initializers and constructor code */
93 : }
94 :
95 : nsBFCacheEntry::~nsBFCacheEntry()
96 : {
97 : /* destructor code */
98 : }
99 :
100 : /* void RemoveFromBFCacheSync (); */
101 : NS_IMETHODIMP nsBFCacheEntry::RemoveFromBFCacheSync()
102 : {
103 : return NS_ERROR_NOT_IMPLEMENTED;
104 : }
105 :
106 : /* void RemoveFromBFCacheAsync (); */
107 : NS_IMETHODIMP nsBFCacheEntry::RemoveFromBFCacheAsync()
108 : {
109 : return NS_ERROR_NOT_IMPLEMENTED;
110 : }
111 :
112 : /* readonly attribute unsigned long long ID; */
113 : NS_IMETHODIMP nsBFCacheEntry::GetID(uint64_t *aID)
114 : {
115 : return NS_ERROR_NOT_IMPLEMENTED;
116 : }
117 :
118 : /* End of implementation class template. */
119 : #endif
120 :
121 :
122 : #endif /* __gen_nsIBFCacheEntry_h__ */
|