1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/netwerk/base/public/nsIApplicationCacheContainer.idl
3 : */
4 :
5 : #ifndef __gen_nsIApplicationCacheContainer_h__
6 : #define __gen_nsIApplicationCacheContainer_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 : class nsIApplicationCache; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIApplicationCacheContainer */
21 : #define NS_IAPPLICATIONCACHECONTAINER_IID_STR "bbb80700-1f7f-4258-aff4-1743cc5a7d23"
22 :
23 : #define NS_IAPPLICATIONCACHECONTAINER_IID \
24 : {0xbbb80700, 0x1f7f, 0x4258, \
25 : { 0xaf, 0xf4, 0x17, 0x43, 0xcc, 0x5a, 0x7d, 0x23 }}
26 :
27 4787 : class NS_NO_VTABLE NS_SCRIPTABLE nsIApplicationCacheContainer : public nsISupports {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IAPPLICATIONCACHECONTAINER_IID)
31 :
32 : /* attribute nsIApplicationCache applicationCache; */
33 : NS_SCRIPTABLE NS_IMETHOD GetApplicationCache(nsIApplicationCache * *aApplicationCache) = 0;
34 : NS_SCRIPTABLE NS_IMETHOD SetApplicationCache(nsIApplicationCache *aApplicationCache) = 0;
35 :
36 : };
37 :
38 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIApplicationCacheContainer, NS_IAPPLICATIONCACHECONTAINER_IID)
39 :
40 : /* Use this macro when declaring classes that implement this interface. */
41 : #define NS_DECL_NSIAPPLICATIONCACHECONTAINER \
42 : NS_SCRIPTABLE NS_IMETHOD GetApplicationCache(nsIApplicationCache * *aApplicationCache); \
43 : NS_SCRIPTABLE NS_IMETHOD SetApplicationCache(nsIApplicationCache *aApplicationCache);
44 :
45 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
46 : #define NS_FORWARD_NSIAPPLICATIONCACHECONTAINER(_to) \
47 : NS_SCRIPTABLE NS_IMETHOD GetApplicationCache(nsIApplicationCache * *aApplicationCache) { return _to GetApplicationCache(aApplicationCache); } \
48 : NS_SCRIPTABLE NS_IMETHOD SetApplicationCache(nsIApplicationCache *aApplicationCache) { return _to SetApplicationCache(aApplicationCache); }
49 :
50 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
51 : #define NS_FORWARD_SAFE_NSIAPPLICATIONCACHECONTAINER(_to) \
52 : NS_SCRIPTABLE NS_IMETHOD GetApplicationCache(nsIApplicationCache * *aApplicationCache) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetApplicationCache(aApplicationCache); } \
53 : NS_SCRIPTABLE NS_IMETHOD SetApplicationCache(nsIApplicationCache *aApplicationCache) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetApplicationCache(aApplicationCache); }
54 :
55 : #if 0
56 : /* Use the code below as a template for the implementation class for this interface. */
57 :
58 : /* Header file */
59 : class nsApplicationCacheContainer : public nsIApplicationCacheContainer
60 : {
61 : public:
62 : NS_DECL_ISUPPORTS
63 : NS_DECL_NSIAPPLICATIONCACHECONTAINER
64 :
65 : nsApplicationCacheContainer();
66 :
67 : private:
68 : ~nsApplicationCacheContainer();
69 :
70 : protected:
71 : /* additional members */
72 : };
73 :
74 : /* Implementation file */
75 : NS_IMPL_ISUPPORTS1(nsApplicationCacheContainer, nsIApplicationCacheContainer)
76 :
77 : nsApplicationCacheContainer::nsApplicationCacheContainer()
78 : {
79 : /* member initializers and constructor code */
80 : }
81 :
82 : nsApplicationCacheContainer::~nsApplicationCacheContainer()
83 : {
84 : /* destructor code */
85 : }
86 :
87 : /* attribute nsIApplicationCache applicationCache; */
88 : NS_IMETHODIMP nsApplicationCacheContainer::GetApplicationCache(nsIApplicationCache * *aApplicationCache)
89 : {
90 : return NS_ERROR_NOT_IMPLEMENTED;
91 : }
92 : NS_IMETHODIMP nsApplicationCacheContainer::SetApplicationCache(nsIApplicationCache *aApplicationCache)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* End of implementation class template. */
98 : #endif
99 :
100 :
101 : #endif /* __gen_nsIApplicationCacheContainer_h__ */
|