Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIStreamingProtocolService.idl
3 : */
4 :
5 : #ifndef __gen_nsIStreamingProtocolService_h__
6 : #define __gen_nsIStreamingProtocolService_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 nsIStreamingProtocolController; /* forward declaration */
18 :
19 : class nsIChannel; /* forward declaration */
20 :
21 : #define NS_MEDIASTREAMCONTROLLERSERVICE_CID \
22 : { 0x94838530, 0x8627, 0x11e2, \
23 : { \
24 : 0x9e, 0x96, 0x08, 0x00, \
25 : 0x20, 0x0c, 0x9a, 0x66 \
26 : } \
27 : }
28 : #define MEDIASTREAMCONTROLLERSERVICE_CONTRACTID \
29 : "@mozilla.org/mediastream/mediastreamcontrollerservice;1"
30 :
31 : /* starting interface: nsIStreamingProtocolControllerService */
32 : #define NS_ISTREAMINGPROTOCOLCONTROLLERSERVICE_IID_STR "94838530-8627-11e2-9e96-0800200c9a66"
33 :
34 : #define NS_ISTREAMINGPROTOCOLCONTROLLERSERVICE_IID \
35 : {0x94838530, 0x8627, 0x11e2, \
36 : { 0x9e, 0x96, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 }}
37 :
38 0 : class NS_NO_VTABLE nsIStreamingProtocolControllerService : public nsISupports {
39 : public:
40 :
41 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ISTREAMINGPROTOCOLCONTROLLERSERVICE_IID)
42 :
43 : /* nsIStreamingProtocolController create (in nsIChannel channel); */
44 : NS_IMETHOD Create(nsIChannel *channel, nsIStreamingProtocolController * *_retval) = 0;
45 :
46 : };
47 :
48 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIStreamingProtocolControllerService, NS_ISTREAMINGPROTOCOLCONTROLLERSERVICE_IID)
49 :
50 : /* Use this macro when declaring classes that implement this interface. */
51 : #define NS_DECL_NSISTREAMINGPROTOCOLCONTROLLERSERVICE \
52 : NS_IMETHOD Create(nsIChannel *channel, nsIStreamingProtocolController * *_retval) override;
53 :
54 : /* Use this macro when declaring the members of this interface when the
55 : class doesn't implement the interface. This is useful for forwarding. */
56 : #define NS_DECL_NON_VIRTUAL_NSISTREAMINGPROTOCOLCONTROLLERSERVICE \
57 : nsresult Create(nsIChannel *channel, nsIStreamingProtocolController * *_retval);
58 :
59 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
60 : #define NS_FORWARD_NSISTREAMINGPROTOCOLCONTROLLERSERVICE(_to) \
61 : NS_IMETHOD Create(nsIChannel *channel, nsIStreamingProtocolController * *_retval) override { return _to Create(channel, _retval); }
62 :
63 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
64 : #define NS_FORWARD_SAFE_NSISTREAMINGPROTOCOLCONTROLLERSERVICE(_to) \
65 : NS_IMETHOD Create(nsIChannel *channel, nsIStreamingProtocolController * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Create(channel, _retval); }
66 :
67 : #if 0
68 : /* Use the code below as a template for the implementation class for this interface. */
69 :
70 : /* Header file */
71 : class nsStreamingProtocolControllerService : public nsIStreamingProtocolControllerService
72 : {
73 : public:
74 : NS_DECL_ISUPPORTS
75 : NS_DECL_NSISTREAMINGPROTOCOLCONTROLLERSERVICE
76 :
77 : nsStreamingProtocolControllerService();
78 :
79 : private:
80 : ~nsStreamingProtocolControllerService();
81 :
82 : protected:
83 : /* additional members */
84 : };
85 :
86 : /* Implementation file */
87 : NS_IMPL_ISUPPORTS(nsStreamingProtocolControllerService, nsIStreamingProtocolControllerService)
88 :
89 : nsStreamingProtocolControllerService::nsStreamingProtocolControllerService()
90 : {
91 : /* member initializers and constructor code */
92 : }
93 :
94 : nsStreamingProtocolControllerService::~nsStreamingProtocolControllerService()
95 : {
96 : /* destructor code */
97 : }
98 :
99 : /* nsIStreamingProtocolController create (in nsIChannel channel); */
100 : NS_IMETHODIMP nsStreamingProtocolControllerService::Create(nsIChannel *channel, nsIStreamingProtocolController * *_retval)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* End of implementation class template. */
106 : #endif
107 :
108 :
109 : #endif /* __gen_nsIStreamingProtocolService_h__ */
|