1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/netwerk/streamconv/public/nsITXTToHTMLConv.idl
3 : */
4 :
5 : #ifndef __gen_nsITXTToHTMLConv_h__
6 : #define __gen_nsITXTToHTMLConv_h__
7 :
8 :
9 : #ifndef __gen_nsIStreamConverter_h__
10 : #include "nsIStreamConverter.h"
11 : #endif
12 :
13 : #ifndef __gen_nsrootidl_h__
14 : #include "nsrootidl.h"
15 : #endif
16 :
17 : /* For IDL files that don't want to include root IDL files. */
18 : #ifndef NS_NO_VTABLE
19 : #define NS_NO_VTABLE
20 : #endif
21 :
22 : /* starting interface: nsITXTToHTMLConv */
23 : #define NS_ITXTTOHTMLCONV_IID_STR "933355f6-1dd2-11b2-a9b0-d335b9e35983"
24 :
25 : #define NS_ITXTTOHTMLCONV_IID \
26 : {0x933355f6, 0x1dd2, 0x11b2, \
27 : { 0xa9, 0xb0, 0xd3, 0x35, 0xb9, 0xe3, 0x59, 0x83 }}
28 :
29 0 : class NS_NO_VTABLE NS_SCRIPTABLE nsITXTToHTMLConv : public nsIStreamConverter {
30 : public:
31 :
32 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_ITXTTOHTMLCONV_IID)
33 :
34 : /* void setTitle (in wstring text); */
35 : NS_SCRIPTABLE NS_IMETHOD SetTitle(const PRUnichar * text) = 0;
36 :
37 : /* void preFormatHTML (in boolean value); */
38 : NS_SCRIPTABLE NS_IMETHOD PreFormatHTML(bool value) = 0;
39 :
40 : };
41 :
42 : NS_DEFINE_STATIC_IID_ACCESSOR(nsITXTToHTMLConv, NS_ITXTTOHTMLCONV_IID)
43 :
44 : /* Use this macro when declaring classes that implement this interface. */
45 : #define NS_DECL_NSITXTTOHTMLCONV \
46 : NS_SCRIPTABLE NS_IMETHOD SetTitle(const PRUnichar * text); \
47 : NS_SCRIPTABLE NS_IMETHOD PreFormatHTML(bool value);
48 :
49 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
50 : #define NS_FORWARD_NSITXTTOHTMLCONV(_to) \
51 : NS_SCRIPTABLE NS_IMETHOD SetTitle(const PRUnichar * text) { return _to SetTitle(text); } \
52 : NS_SCRIPTABLE NS_IMETHOD PreFormatHTML(bool value) { return _to PreFormatHTML(value); }
53 :
54 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
55 : #define NS_FORWARD_SAFE_NSITXTTOHTMLCONV(_to) \
56 : NS_SCRIPTABLE NS_IMETHOD SetTitle(const PRUnichar * text) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetTitle(text); } \
57 : NS_SCRIPTABLE NS_IMETHOD PreFormatHTML(bool value) { return !_to ? NS_ERROR_NULL_POINTER : _to->PreFormatHTML(value); }
58 :
59 : #if 0
60 : /* Use the code below as a template for the implementation class for this interface. */
61 :
62 : /* Header file */
63 : class nsTXTToHTMLConv : public nsITXTToHTMLConv
64 : {
65 : public:
66 : NS_DECL_ISUPPORTS
67 : NS_DECL_NSITXTTOHTMLCONV
68 :
69 : nsTXTToHTMLConv();
70 :
71 : private:
72 : ~nsTXTToHTMLConv();
73 :
74 : protected:
75 : /* additional members */
76 : };
77 :
78 : /* Implementation file */
79 : NS_IMPL_ISUPPORTS1(nsTXTToHTMLConv, nsITXTToHTMLConv)
80 :
81 : nsTXTToHTMLConv::nsTXTToHTMLConv()
82 : {
83 : /* member initializers and constructor code */
84 : }
85 :
86 : nsTXTToHTMLConv::~nsTXTToHTMLConv()
87 : {
88 : /* destructor code */
89 : }
90 :
91 : /* void setTitle (in wstring text); */
92 : NS_IMETHODIMP nsTXTToHTMLConv::SetTitle(const PRUnichar * text)
93 : {
94 : return NS_ERROR_NOT_IMPLEMENTED;
95 : }
96 :
97 : /* void preFormatHTML (in boolean value); */
98 : NS_IMETHODIMP nsTXTToHTMLConv::PreFormatHTML(bool value)
99 : {
100 : return NS_ERROR_NOT_IMPLEMENTED;
101 : }
102 :
103 : /* End of implementation class template. */
104 : #endif
105 :
106 :
107 : #endif /* __gen_nsITXTToHTMLConv_h__ */
|