/usr/include/thunderbird/nsIMsgPrintEngine.h is in thunderbird-dev 1:52.8.0-1~deb8u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 | /*
* DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIMsgPrintEngine.idl
*/
#ifndef __gen_nsIMsgPrintEngine_h__
#define __gen_nsIMsgPrintEngine_h__
#ifndef __gen_nsrootidl_h__
#include "nsrootidl.h"
#endif
#ifndef __gen_nsIMsgStatusFeedback_h__
#include "nsIMsgStatusFeedback.h"
#endif
/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif
class mozIDOMWindowProxy; /* forward declaration */
class nsIPrintSettings; /* forward declaration */
class nsIObserver; /* forward declaration */
/* starting interface: nsIMsgPrintEngine */
#define NS_IMSGPRINTENGINE_IID_STR "9bdd0812-dd48-4f04-87a9-74dcfc3abadc"
#define NS_IMSGPRINTENGINE_IID \
{0x9bdd0812, 0xdd48, 0x4f04, \
{ 0x87, 0xa9, 0x74, 0xdc, 0xfc, 0x3a, 0xba, 0xdc }}
class NS_NO_VTABLE nsIMsgPrintEngine : public nsISupports {
public:
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IMSGPRINTENGINE_IID)
enum {
MNAB_START = 0,
MNAB_PRINT_MSG = 0,
MNAB_PRINTPREVIEW_MSG = 1,
MNAB_PRINT_AB_CARD = 2,
MNAB_PRINTPREVIEW_AB_CARD = 3,
MNAB_PRINT_ADDRBOOK = 4,
MNAB_PRINTPREVIEW_ADDRBOOK = 5,
MNAB_END = 6
};
/* void setWindow (in mozIDOMWindowProxy ptr); */
NS_IMETHOD SetWindow(mozIDOMWindowProxy *ptr) = 0;
/* void setParentWindow (in mozIDOMWindowProxy ptr); */
NS_IMETHOD SetParentWindow(mozIDOMWindowProxy *ptr) = 0;
/* void showWindow (in boolean aShow); */
NS_IMETHOD ShowWindow(bool aShow) = 0;
/* void setStatusFeedback (in nsIMsgStatusFeedback feedback); */
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *feedback) = 0;
/* void setPrintURICount (in int32_t aCount); */
NS_IMETHOD SetPrintURICount(int32_t aCount) = 0;
/* void addPrintURI (in wstring aURI); */
NS_IMETHOD AddPrintURI(const char16_t * aURI) = 0;
/* void startPrintOperation (in nsIPrintSettings aPS); */
NS_IMETHOD StartPrintOperation(nsIPrintSettings *aPS) = 0;
/* void setStartupPPObserver (in nsIObserver startupPPObs); */
NS_IMETHOD SetStartupPPObserver(nsIObserver *startupPPObs) = 0;
/* void setMsgType (in long aMsgType); */
NS_IMETHOD SetMsgType(int32_t aMsgType) = 0;
/* attribute boolean doPrintPreview; */
NS_IMETHOD GetDoPrintPreview(bool *aDoPrintPreview) = 0;
NS_IMETHOD SetDoPrintPreview(bool aDoPrintPreview) = 0;
};
NS_DEFINE_STATIC_IID_ACCESSOR(nsIMsgPrintEngine, NS_IMSGPRINTENGINE_IID)
/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIMSGPRINTENGINE \
NS_IMETHOD SetWindow(mozIDOMWindowProxy *ptr) override; \
NS_IMETHOD SetParentWindow(mozIDOMWindowProxy *ptr) override; \
NS_IMETHOD ShowWindow(bool aShow) override; \
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *feedback) override; \
NS_IMETHOD SetPrintURICount(int32_t aCount) override; \
NS_IMETHOD AddPrintURI(const char16_t * aURI) override; \
NS_IMETHOD StartPrintOperation(nsIPrintSettings *aPS) override; \
NS_IMETHOD SetStartupPPObserver(nsIObserver *startupPPObs) override; \
NS_IMETHOD SetMsgType(int32_t aMsgType) override; \
NS_IMETHOD GetDoPrintPreview(bool *aDoPrintPreview) override; \
NS_IMETHOD SetDoPrintPreview(bool aDoPrintPreview) override;
/* Use this macro when declaring the members of this interface when the
class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIMSGPRINTENGINE \
NS_METHOD SetWindow(mozIDOMWindowProxy *ptr); \
NS_METHOD SetParentWindow(mozIDOMWindowProxy *ptr); \
NS_METHOD ShowWindow(bool aShow); \
NS_METHOD SetStatusFeedback(nsIMsgStatusFeedback *feedback); \
NS_METHOD SetPrintURICount(int32_t aCount); \
NS_METHOD AddPrintURI(const char16_t * aURI); \
NS_METHOD StartPrintOperation(nsIPrintSettings *aPS); \
NS_METHOD SetStartupPPObserver(nsIObserver *startupPPObs); \
NS_METHOD SetMsgType(int32_t aMsgType); \
NS_METHOD GetDoPrintPreview(bool *aDoPrintPreview); \
NS_METHOD SetDoPrintPreview(bool aDoPrintPreview);
/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIMSGPRINTENGINE(_to) \
NS_IMETHOD SetWindow(mozIDOMWindowProxy *ptr) override { return _to SetWindow(ptr); } \
NS_IMETHOD SetParentWindow(mozIDOMWindowProxy *ptr) override { return _to SetParentWindow(ptr); } \
NS_IMETHOD ShowWindow(bool aShow) override { return _to ShowWindow(aShow); } \
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *feedback) override { return _to SetStatusFeedback(feedback); } \
NS_IMETHOD SetPrintURICount(int32_t aCount) override { return _to SetPrintURICount(aCount); } \
NS_IMETHOD AddPrintURI(const char16_t * aURI) override { return _to AddPrintURI(aURI); } \
NS_IMETHOD StartPrintOperation(nsIPrintSettings *aPS) override { return _to StartPrintOperation(aPS); } \
NS_IMETHOD SetStartupPPObserver(nsIObserver *startupPPObs) override { return _to SetStartupPPObserver(startupPPObs); } \
NS_IMETHOD SetMsgType(int32_t aMsgType) override { return _to SetMsgType(aMsgType); } \
NS_IMETHOD GetDoPrintPreview(bool *aDoPrintPreview) override { return _to GetDoPrintPreview(aDoPrintPreview); } \
NS_IMETHOD SetDoPrintPreview(bool aDoPrintPreview) override { return _to SetDoPrintPreview(aDoPrintPreview); }
/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIMSGPRINTENGINE(_to) \
NS_IMETHOD SetWindow(mozIDOMWindowProxy *ptr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetWindow(ptr); } \
NS_IMETHOD SetParentWindow(mozIDOMWindowProxy *ptr) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetParentWindow(ptr); } \
NS_IMETHOD ShowWindow(bool aShow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ShowWindow(aShow); } \
NS_IMETHOD SetStatusFeedback(nsIMsgStatusFeedback *feedback) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStatusFeedback(feedback); } \
NS_IMETHOD SetPrintURICount(int32_t aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetPrintURICount(aCount); } \
NS_IMETHOD AddPrintURI(const char16_t * aURI) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddPrintURI(aURI); } \
NS_IMETHOD StartPrintOperation(nsIPrintSettings *aPS) override { return !_to ? NS_ERROR_NULL_POINTER : _to->StartPrintOperation(aPS); } \
NS_IMETHOD SetStartupPPObserver(nsIObserver *startupPPObs) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetStartupPPObserver(startupPPObs); } \
NS_IMETHOD SetMsgType(int32_t aMsgType) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetMsgType(aMsgType); } \
NS_IMETHOD GetDoPrintPreview(bool *aDoPrintPreview) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDoPrintPreview(aDoPrintPreview); } \
NS_IMETHOD SetDoPrintPreview(bool aDoPrintPreview) override { return !_to ? NS_ERROR_NULL_POINTER : _to->SetDoPrintPreview(aDoPrintPreview); }
#if 0
/* Use the code below as a template for the implementation class for this interface. */
/* Header file */
class nsMsgPrintEngine : public nsIMsgPrintEngine
{
public:
NS_DECL_ISUPPORTS
NS_DECL_NSIMSGPRINTENGINE
nsMsgPrintEngine();
private:
~nsMsgPrintEngine();
protected:
/* additional members */
};
/* Implementation file */
NS_IMPL_ISUPPORTS(nsMsgPrintEngine, nsIMsgPrintEngine)
nsMsgPrintEngine::nsMsgPrintEngine()
{
/* member initializers and constructor code */
}
nsMsgPrintEngine::~nsMsgPrintEngine()
{
/* destructor code */
}
/* void setWindow (in mozIDOMWindowProxy ptr); */
NS_IMETHODIMP nsMsgPrintEngine::SetWindow(mozIDOMWindowProxy *ptr)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setParentWindow (in mozIDOMWindowProxy ptr); */
NS_IMETHODIMP nsMsgPrintEngine::SetParentWindow(mozIDOMWindowProxy *ptr)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void showWindow (in boolean aShow); */
NS_IMETHODIMP nsMsgPrintEngine::ShowWindow(bool aShow)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setStatusFeedback (in nsIMsgStatusFeedback feedback); */
NS_IMETHODIMP nsMsgPrintEngine::SetStatusFeedback(nsIMsgStatusFeedback *feedback)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setPrintURICount (in int32_t aCount); */
NS_IMETHODIMP nsMsgPrintEngine::SetPrintURICount(int32_t aCount)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void addPrintURI (in wstring aURI); */
NS_IMETHODIMP nsMsgPrintEngine::AddPrintURI(const char16_t * aURI)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void startPrintOperation (in nsIPrintSettings aPS); */
NS_IMETHODIMP nsMsgPrintEngine::StartPrintOperation(nsIPrintSettings *aPS)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setStartupPPObserver (in nsIObserver startupPPObs); */
NS_IMETHODIMP nsMsgPrintEngine::SetStartupPPObserver(nsIObserver *startupPPObs)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* void setMsgType (in long aMsgType); */
NS_IMETHODIMP nsMsgPrintEngine::SetMsgType(int32_t aMsgType)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* attribute boolean doPrintPreview; */
NS_IMETHODIMP nsMsgPrintEngine::GetDoPrintPreview(bool *aDoPrintPreview)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
NS_IMETHODIMP nsMsgPrintEngine::SetDoPrintPreview(bool aDoPrintPreview)
{
return NS_ERROR_NOT_IMPLEMENTED;
}
/* End of implementation class template. */
#endif
#endif /* __gen_nsIMsgPrintEngine_h__ */
|