1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/netwerk/base/public/nsIRequestObserverProxy.idl
3 : */
4 :
5 : #ifndef __gen_nsIRequestObserverProxy_h__
6 : #define __gen_nsIRequestObserverProxy_h__
7 :
8 :
9 : #ifndef __gen_nsIRequestObserver_h__
10 : #include "nsIRequestObserver.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 nsIEventTarget; /* forward declaration */
18 :
19 :
20 : /* starting interface: nsIRequestObserverProxy */
21 : #define NS_IREQUESTOBSERVERPROXY_IID_STR "7df8845f-938a-4437-9ea4-b11b850048f1"
22 :
23 : #define NS_IREQUESTOBSERVERPROXY_IID \
24 : {0x7df8845f, 0x938a, 0x4437, \
25 : { 0x9e, 0xa4, 0xb1, 0x1b, 0x85, 0x00, 0x48, 0xf1 }}
26 :
27 399 : class NS_NO_VTABLE NS_SCRIPTABLE nsIRequestObserverProxy : public nsIRequestObserver {
28 : public:
29 :
30 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IREQUESTOBSERVERPROXY_IID)
31 :
32 : /* void init (in nsIRequestObserver observer, in nsIEventTarget target); */
33 : NS_SCRIPTABLE NS_IMETHOD Init(nsIRequestObserver *observer, nsIEventTarget *target) = 0;
34 :
35 : };
36 :
37 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIRequestObserverProxy, NS_IREQUESTOBSERVERPROXY_IID)
38 :
39 : /* Use this macro when declaring classes that implement this interface. */
40 : #define NS_DECL_NSIREQUESTOBSERVERPROXY \
41 : NS_SCRIPTABLE NS_IMETHOD Init(nsIRequestObserver *observer, nsIEventTarget *target);
42 :
43 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
44 : #define NS_FORWARD_NSIREQUESTOBSERVERPROXY(_to) \
45 : NS_SCRIPTABLE NS_IMETHOD Init(nsIRequestObserver *observer, nsIEventTarget *target) { return _to Init(observer, target); }
46 :
47 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
48 : #define NS_FORWARD_SAFE_NSIREQUESTOBSERVERPROXY(_to) \
49 : NS_SCRIPTABLE NS_IMETHOD Init(nsIRequestObserver *observer, nsIEventTarget *target) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(observer, target); }
50 :
51 : #if 0
52 : /* Use the code below as a template for the implementation class for this interface. */
53 :
54 : /* Header file */
55 : class nsRequestObserverProxy : public nsIRequestObserverProxy
56 : {
57 : public:
58 : NS_DECL_ISUPPORTS
59 : NS_DECL_NSIREQUESTOBSERVERPROXY
60 :
61 : nsRequestObserverProxy();
62 :
63 : private:
64 : ~nsRequestObserverProxy();
65 :
66 : protected:
67 : /* additional members */
68 : };
69 :
70 : /* Implementation file */
71 : NS_IMPL_ISUPPORTS1(nsRequestObserverProxy, nsIRequestObserverProxy)
72 :
73 : nsRequestObserverProxy::nsRequestObserverProxy()
74 : {
75 : /* member initializers and constructor code */
76 : }
77 :
78 : nsRequestObserverProxy::~nsRequestObserverProxy()
79 : {
80 : /* destructor code */
81 : }
82 :
83 : /* void init (in nsIRequestObserver observer, in nsIEventTarget target); */
84 : NS_IMETHODIMP nsRequestObserverProxy::Init(nsIRequestObserver *observer, nsIEventTarget *target)
85 : {
86 : return NS_ERROR_NOT_IMPLEMENTED;
87 : }
88 :
89 : /* End of implementation class template. */
90 : #endif
91 :
92 :
93 : #endif /* __gen_nsIRequestObserverProxy_h__ */
|