1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/layout/printing/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 NS_SCRIPTABLE nsIPrintProgressParams : public nsISupports {
26 : public:
27 :
28 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPRINTPROGRESSPARAMS_IID)
29 :
30 : /* attribute wstring docTitle; */
31 : NS_SCRIPTABLE NS_IMETHOD GetDocTitle(PRUnichar * *aDocTitle) = 0;
32 : NS_SCRIPTABLE NS_IMETHOD SetDocTitle(const PRUnichar * aDocTitle) = 0;
33 :
34 : /* attribute wstring docURL; */
35 : NS_SCRIPTABLE NS_IMETHOD GetDocURL(PRUnichar * *aDocURL) = 0;
36 : NS_SCRIPTABLE NS_IMETHOD SetDocURL(const PRUnichar * 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_SCRIPTABLE NS_IMETHOD GetDocTitle(PRUnichar * *aDocTitle); \
45 : NS_SCRIPTABLE NS_IMETHOD SetDocTitle(const PRUnichar * aDocTitle); \
46 : NS_SCRIPTABLE NS_IMETHOD GetDocURL(PRUnichar * *aDocURL); \
47 : NS_SCRIPTABLE NS_IMETHOD SetDocURL(const PRUnichar * aDocURL);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSIPRINTPROGRESSPARAMS(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD GetDocTitle(PRUnichar * *aDocTitle) { return _to GetDocTitle(aDocTitle); } \
52 : NS_SCRIPTABLE NS_IMETHOD SetDocTitle(const PRUnichar * aDocTitle) { return _to SetDocTitle(aDocTitle); } \
53 : NS_SCRIPTABLE NS_IMETHOD GetDocURL(PRUnichar * *aDocURL) { return _to GetDocURL(aDocURL); } \
54 : NS_SCRIPTABLE NS_IMETHOD SetDocURL(const PRUnichar * aDocURL) { return _to SetDocURL(aDocURL); }
55 :
56 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
57 : #define NS_FORWARD_SAFE_NSIPRINTPROGRESSPARAMS(_to) \
58 : NS_SCRIPTABLE NS_IMETHOD GetDocTitle(PRUnichar * *aDocTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocTitle(aDocTitle); } \
59 : NS_SCRIPTABLE NS_IMETHOD SetDocTitle(const PRUnichar * aDocTitle) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocTitle(aDocTitle); } \
60 : NS_SCRIPTABLE NS_IMETHOD GetDocURL(PRUnichar * *aDocURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDocURL(aDocURL); } \
61 : NS_SCRIPTABLE NS_IMETHOD SetDocURL(const PRUnichar * aDocURL) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDocURL(aDocURL); }
62 :
63 : #if 0
64 : /* Use the code below as a template for the implementation class for this interface. */
65 :
66 : /* Header file */
67 : class nsPrintProgressParams : public nsIPrintProgressParams
68 : {
69 : public:
70 : NS_DECL_ISUPPORTS
71 : NS_DECL_NSIPRINTPROGRESSPARAMS
72 :
73 : nsPrintProgressParams();
74 :
75 : private:
76 : ~nsPrintProgressParams();
77 :
78 : protected:
79 : /* additional members */
80 : };
81 :
82 : /* Implementation file */
83 : NS_IMPL_ISUPPORTS1(nsPrintProgressParams, nsIPrintProgressParams)
84 :
85 : nsPrintProgressParams::nsPrintProgressParams()
86 : {
87 : /* member initializers and constructor code */
88 : }
89 :
90 : nsPrintProgressParams::~nsPrintProgressParams()
91 : {
92 : /* destructor code */
93 : }
94 :
95 : /* attribute wstring docTitle; */
96 : NS_IMETHODIMP nsPrintProgressParams::GetDocTitle(PRUnichar * *aDocTitle)
97 : {
98 : return NS_ERROR_NOT_IMPLEMENTED;
99 : }
100 : NS_IMETHODIMP nsPrintProgressParams::SetDocTitle(const PRUnichar * aDocTitle)
101 : {
102 : return NS_ERROR_NOT_IMPLEMENTED;
103 : }
104 :
105 : /* attribute wstring docURL; */
106 : NS_IMETHODIMP nsPrintProgressParams::GetDocURL(PRUnichar * *aDocURL)
107 : {
108 : return NS_ERROR_NOT_IMPLEMENTED;
109 : }
110 : NS_IMETHODIMP nsPrintProgressParams::SetDocURL(const PRUnichar * aDocURL)
111 : {
112 : return NS_ERROR_NOT_IMPLEMENTED;
113 : }
114 :
115 : /* End of implementation class template. */
116 : #endif
117 :
118 :
119 : #endif /* __gen_nsIPrintProgressParams_h__ */
|