Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIPrintProgressParams.idl
3 : */
4 :
5 : #ifndef __gen_nsIPrintProgressParams_h__
6 : #define __gen_nsIPrintProgressParams_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: nsIPrintProgressParams */
19 : #define NS_IPRINTPROGRESSPARAMS_IID_STR "ca89b55b-6faf-4051-9645-1c03ef5108f8"
20 :
21 : #define NS_IPRINTPROGRESSPARAMS_IID \
22 : {0xca89b55b, 0x6faf, 0x4051, \
23 : { 0x96, 0x45, 0x1c, 0x03, 0xef, 0x51, 0x08, 0xf8 }}
24 :
25 0 : class NS_NO_VTABLE nsIPrintProgressParams : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRINTPROGRESSPARAMS_IID)
29 :
30 : /* attribute wstring docTitle; */
31 : NS_IMETHOD GetDocTitle(char16_t * *aDocTitle) = 0;
32 : NS_IMETHOD SetDocTitle(const char16_t * aDocTitle) = 0;
33 :
34 : /* attribute wstring docURL; */
35 : NS_IMETHOD GetDocURL(char16_t * *aDocURL) = 0;
36 : NS_IMETHOD SetDocURL(const char16_t * aDocURL) = 0;
37 :
38 : };
39 :
40 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIPrintProgressParams, NS_IPRINTPROGRESSPARAMS_IID)
41 :
42 : /* Use this macro when declaring classes that implement this interface. */
43 : #define NS_DECL_NSIPRINTPROGRESSPARAMS \
44 : NS_IMETHOD GetDocTitle(char16_t * *aDocTitle) override; \
45 : NS_IMETHOD SetDocTitle(const char16_t * aDocTitle) override; \
46 : NS_IMETHOD GetDocURL(char16_t * *aDocURL) override; \
47 : NS_IMETHOD SetDocURL(const char16_t * aDocURL) override;
48 :
49 : /* Use this macro when declaring the members of this interface when the
50 : class doesn't implement the interface. This is useful for forwarding. */
51 : #define NS_DECL_NON_VIRTUAL_NSIPRINTPROGRESSPARAMS \
52 : nsresult GetDocTitle(char16_t * *aDocTitle); \
53 : nsresult SetDocTitle(const char16_t * aDocTitle); \
54 : nsresult GetDocURL(char16_t * *aDocURL); \
55 : nsresult SetDocURL(const char16_t * aDocURL);
56 :
57 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
58 : #define NS_FORWARD_NSIPRINTPROGRESSPARAMS(_to) \
59 : NS_IMETHOD GetDocTitle(char16_t * *aDocTitle) override { return _to GetDocTitle(aDocTitle); } \
60 : NS_IMETHOD SetDocTitle(const char16_t * aDocTitle) override { return _to SetDocTitle(aDocTitle); } \
61 : NS_IMETHOD GetDocURL(char16_t * *aDocURL) override { return _to GetDocURL(aDocURL); } \
62 : NS_IMETHOD SetDocURL(const char16_t * aDocURL) override { return _to SetDocURL(aDocURL); }
63 :
64 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
65 : #define NS_FORWARD_SAFE_NSIPRINTPROGRESSPARAMS(_to) \
66 : NS_IMETHOD GetDocTitle(char16_t * *aDocTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocTitle(aDocTitle); } \
67 : NS_IMETHOD SetDocTitle(const char16_t * aDocTitle) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocTitle(aDocTitle); } \
68 : NS_IMETHOD GetDocURL(char16_t * *aDocURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocURL(aDocURL); } \
69 : NS_IMETHOD SetDocURL(const char16_t * aDocURL) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocURL(aDocURL); }
70 :
71 : #if 0
72 : /* Use the code below as a template for the implementation class for this interface. */
73 :
74 : /* Header file */
75 : class nsPrintProgressParams : public nsIPrintProgressParams
76 : {
77 : public:
78 : NS_DECL_ISUPPORTS
79 : NS_DECL_NSIPRINTPROGRESSPARAMS
80 :
81 : nsPrintProgressParams();
82 :
83 : private:
84 : ~nsPrintProgressParams();
85 :
86 : protected:
87 : /* additional members */
88 : };
89 :
90 : /* Implementation file */
91 : NS_IMPL_ISUPPORTS(nsPrintProgressParams, nsIPrintProgressParams)
92 :
93 : nsPrintProgressParams::nsPrintProgressParams()
94 : {
95 : /* member initializers and constructor code */
96 : }
97 :
98 : nsPrintProgressParams::~nsPrintProgressParams()
99 : {
100 : /* destructor code */
101 : }
102 :
103 : /* attribute wstring docTitle; */
104 : NS_IMETHODIMP nsPrintProgressParams::GetDocTitle(char16_t * *aDocTitle)
105 : {
106 : return NS_ERROR_NOT_IMPLEMENTED;
107 : }
108 : NS_IMETHODIMP nsPrintProgressParams::SetDocTitle(const char16_t * aDocTitle)
109 : {
110 : return NS_ERROR_NOT_IMPLEMENTED;
111 : }
112 :
113 : /* attribute wstring docURL; */
114 : NS_IMETHODIMP nsPrintProgressParams::GetDocURL(char16_t * *aDocURL)
115 : {
116 : return NS_ERROR_NOT_IMPLEMENTED;
117 : }
118 : NS_IMETHODIMP nsPrintProgressParams::SetDocURL(const char16_t * aDocURL)
119 : {
120 : return NS_ERROR_NOT_IMPLEMENTED;
121 : }
122 :
123 : /* End of implementation class template. */
124 : #endif
125 :
126 :
127 : #endif /* __gen_nsIPrintProgressParams_h__ */
|