Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIClassifiedChannel.idl
3 : */
4 :
5 : #ifndef __gen_nsIClassifiedChannel_h__
6 : #define __gen_nsIClassifiedChannel_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: nsIClassifiedChannel */
19 : #define NS_ICLASSIFIEDCHANNEL_IID_STR "70cf6091-a1de-4aa8-8224-058f8964be31"
20 :
21 : #define NS_ICLASSIFIEDCHANNEL_IID \
22 : {0x70cf6091, 0xa1de, 0x4aa8, \
23 : { 0x82, 0x24, 0x05, 0x8f, 0x89, 0x64, 0xbe, 0x31 }}
24 :
25 10 : class NS_NO_VTABLE nsIClassifiedChannel : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICLASSIFIEDCHANNEL_IID)
29 :
30 : /* void setMatchedInfo (in ACString aList, in ACString aProvider, in ACString aPrefix); */
31 : NS_IMETHOD SetMatchedInfo(const nsACString & aList, const nsACString & aProvider, const nsACString & aPrefix) = 0;
32 :
33 : /* readonly attribute ACString matchedList; */
34 : NS_IMETHOD GetMatchedList(nsACString & aMatchedList) = 0;
35 :
36 : /* readonly attribute ACString matchedProvider; */
37 : NS_IMETHOD GetMatchedProvider(nsACString & aMatchedProvider) = 0;
38 :
39 : /* readonly attribute ACString matchedPrefix; */
40 : NS_IMETHOD GetMatchedPrefix(nsACString & aMatchedPrefix) = 0;
41 :
42 : };
43 :
44 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIClassifiedChannel, NS_ICLASSIFIEDCHANNEL_IID)
45 :
46 : /* Use this macro when declaring classes that implement this interface. */
47 : #define NS_DECL_NSICLASSIFIEDCHANNEL \
48 : NS_IMETHOD SetMatchedInfo(const nsACString & aList, const nsACString & aProvider, const nsACString & aPrefix) override; \
49 : NS_IMETHOD GetMatchedList(nsACString & aMatchedList) override; \
50 : NS_IMETHOD GetMatchedProvider(nsACString & aMatchedProvider) override; \
51 : NS_IMETHOD GetMatchedPrefix(nsACString & aMatchedPrefix) override;
52 :
53 : /* Use this macro when declaring the members of this interface when the
54 : class doesn't implement the interface. This is useful for forwarding. */
55 : #define NS_DECL_NON_VIRTUAL_NSICLASSIFIEDCHANNEL \
56 : nsresult SetMatchedInfo(const nsACString & aList, const nsACString & aProvider, const nsACString & aPrefix); \
57 : nsresult GetMatchedList(nsACString & aMatchedList); \
58 : nsresult GetMatchedProvider(nsACString & aMatchedProvider); \
59 : nsresult GetMatchedPrefix(nsACString & aMatchedPrefix);
60 :
61 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
62 : #define NS_FORWARD_NSICLASSIFIEDCHANNEL(_to) \
63 : NS_IMETHOD SetMatchedInfo(const nsACString & aList, const nsACString & aProvider, const nsACString & aPrefix) override { return _to SetMatchedInfo(aList, aProvider, aPrefix); } \
64 : NS_IMETHOD GetMatchedList(nsACString & aMatchedList) override { return _to GetMatchedList(aMatchedList); } \
65 : NS_IMETHOD GetMatchedProvider(nsACString & aMatchedProvider) override { return _to GetMatchedProvider(aMatchedProvider); } \
66 : NS_IMETHOD GetMatchedPrefix(nsACString & aMatchedPrefix) override { return _to GetMatchedPrefix(aMatchedPrefix); }
67 :
68 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
69 : #define NS_FORWARD_SAFE_NSICLASSIFIEDCHANNEL(_to) \
70 : NS_IMETHOD SetMatchedInfo(const nsACString & aList, const nsACString & aProvider, const nsACString & aPrefix) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMatchedInfo(aList, aProvider, aPrefix); } \
71 : NS_IMETHOD GetMatchedList(nsACString & aMatchedList) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMatchedList(aMatchedList); } \
72 : NS_IMETHOD GetMatchedProvider(nsACString & aMatchedProvider) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMatchedProvider(aMatchedProvider); } \
73 : NS_IMETHOD GetMatchedPrefix(nsACString & aMatchedPrefix) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMatchedPrefix(aMatchedPrefix); }
74 :
75 : #if 0
76 : /* Use the code below as a template for the implementation class for this interface. */
77 :
78 : /* Header file */
79 : class nsClassifiedChannel : public nsIClassifiedChannel
80 : {
81 : public:
82 : NS_DECL_ISUPPORTS
83 : NS_DECL_NSICLASSIFIEDCHANNEL
84 :
85 : nsClassifiedChannel();
86 :
87 : private:
88 : ~nsClassifiedChannel();
89 :
90 : protected:
91 : /* additional members */
92 : };
93 :
94 : /* Implementation file */
95 : NS_IMPL_ISUPPORTS(nsClassifiedChannel, nsIClassifiedChannel)
96 :
97 : nsClassifiedChannel::nsClassifiedChannel()
98 : {
99 : /* member initializers and constructor code */
100 : }
101 :
102 : nsClassifiedChannel::~nsClassifiedChannel()
103 : {
104 : /* destructor code */
105 : }
106 :
107 : /* void setMatchedInfo (in ACString aList, in ACString aProvider, in ACString aPrefix); */
108 : NS_IMETHODIMP nsClassifiedChannel::SetMatchedInfo(const nsACString & aList, const nsACString & aProvider, const nsACString & aPrefix)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* readonly attribute ACString matchedList; */
114 : NS_IMETHODIMP nsClassifiedChannel::GetMatchedList(nsACString & aMatchedList)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 :
119 : /* readonly attribute ACString matchedProvider; */
120 : NS_IMETHODIMP nsClassifiedChannel::GetMatchedProvider(nsACString & aMatchedProvider)
121 : {
122 : return NS_ERROR_NOT_IMPLEMENTED;
123 : }
124 :
125 : /* readonly attribute ACString matchedPrefix; */
126 : NS_IMETHODIMP nsClassifiedChannel::GetMatchedPrefix(nsACString & aMatchedPrefix)
127 : {
128 : return NS_ERROR_NOT_IMPLEMENTED;
129 : }
130 :
131 : /* End of implementation class template. */
132 : #endif
133 :
134 :
135 : #endif /* __gen_nsIClassifiedChannel_h__ */
|