1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/docshell/shistory/public/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 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsIBFCacheEntry : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IBFCACHEENTRY_IID)
29 :
30 : /* void RemoveFromBFCacheSync (); */
31 : NS_SCRIPTABLE NS_IMETHOD RemoveFromBFCacheSync(void) = 0;
32 :
33 : /* void RemoveFromBFCacheAsync (); */
34 : NS_SCRIPTABLE NS_IMETHOD RemoveFromBFCacheAsync(void) = 0;
35 :
36 : /* readonly attribute unsigned long long ID; */
37 : NS_SCRIPTABLE NS_IMETHOD GetID(PRUint64 *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_SCRIPTABLE NS_IMETHOD RemoveFromBFCacheSync(void); \
46 : NS_SCRIPTABLE NS_IMETHOD RemoveFromBFCacheAsync(void); \
47 : NS_SCRIPTABLE NS_IMETHOD GetID(PRUint64 *aID);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIBFCACHEENTRY(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD RemoveFromBFCacheSync(void) { return _to RemoveFromBFCacheSync(); } \
52 : NS_SCRIPTABLE NS_IMETHOD RemoveFromBFCacheAsync(void) { return _to RemoveFromBFCacheAsync(); } \
53 : NS_SCRIPTABLE NS_IMETHOD GetID(PRUint64 *aID) { return _to GetID(aID); }
54 :
55 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
56 : #define NS_FORWARD_SAFE_NSIBFCACHEENTRY(_to) \
57 : NS_SCRIPTABLE NS_IMETHOD RemoveFromBFCacheSync(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFromBFCacheSync(); } \
58 : NS_SCRIPTABLE NS_IMETHOD RemoveFromBFCacheAsync(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFromBFCacheAsync(); } \
59 : NS_SCRIPTABLE NS_IMETHOD GetID(PRUint64 *aID) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetID(aID); }
60 :
61 : #if 0
62 : /* Use the code below as a template for the implementation class for this interface. */
63 :
64 : /* Header file */
65 : class nsBFCacheEntry : public nsIBFCacheEntry
66 : {
67 : public:
68 : NS_DECL_ISUPPORTS
69 : NS_DECL_NSIBFCACHEENTRY
70 :
71 : nsBFCacheEntry();
72 :
73 : private:
74 : ~nsBFCacheEntry();
75 :
76 : protected:
77 : /* additional members */
78 : };
79 :
80 : /* Implementation file */
81 : NS_IMPL_ISUPPORTS1(nsBFCacheEntry, nsIBFCacheEntry)
82 :
83 : nsBFCacheEntry::nsBFCacheEntry()
84 : {
85 : /* member initializers and constructor code */
86 : }
87 :
88 : nsBFCacheEntry::~nsBFCacheEntry()
89 : {
90 : /* destructor code */
91 : }
92 :
93 : /* void RemoveFromBFCacheSync (); */
94 : NS_IMETHODIMP nsBFCacheEntry::RemoveFromBFCacheSync()
95 : {
96 : return NS_ERROR_NOT_IMPLEMENTED;
97 : }
98 :
99 : /* void RemoveFromBFCacheAsync (); */
100 : NS_IMETHODIMP nsBFCacheEntry::RemoveFromBFCacheAsync()
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* readonly attribute unsigned long long ID; */
106 : NS_IMETHODIMP nsBFCacheEntry::GetID(PRUint64 *aID)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 :
111 : /* End of implementation class template. */
112 : #endif
113 :
114 :
115 : #endif /* __gen_nsIBFCacheEntry_h__ */
|