1 //******************************************************************************
2 //  Copyright (c) 2005-2013 by Jan Van hijfte
3 //
4 //  See the included file COPYING.TXT for details about the copyright.
5 //
6 //  This program is distributed in the hope that it will be useful,
7 //  but WITHOUT ANY WARRANTY; without even the implied warranty of
8 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
9 //******************************************************************************
10 
11 
12 #ifndef QPRINTERINFO_C_H
13 #define QPRINTERINFO_C_H
14 
15 #include <QtPrintSupport>
16 #include "pascalbind.h"
17 
18 C_EXPORT QPrinterInfoH QPrinterInfo_Create();
19 C_EXPORT void QPrinterInfo_Destroy(QPrinterInfoH handle);
20 C_EXPORT QPrinterInfoH QPrinterInfo_Create2(const QPrinterInfoH other);
21 C_EXPORT QPrinterInfoH QPrinterInfo_Create3(const QPrinterH printer);
22 C_EXPORT void QPrinterInfo_printerName(QPrinterInfoH handle, PWideString retval);
23 C_EXPORT void QPrinterInfo_description(QPrinterInfoH handle, PWideString retval);
24 C_EXPORT void QPrinterInfo_location(QPrinterInfoH handle, PWideString retval);
25 C_EXPORT void QPrinterInfo_makeAndModel(QPrinterInfoH handle, PWideString retval);
26 C_EXPORT bool QPrinterInfo_isNull(QPrinterInfoH handle);
27 C_EXPORT bool QPrinterInfo_isDefault(QPrinterInfoH handle);
28 C_EXPORT void QPrinterInfo_supportedPaperSizes(QPrinterInfoH handle, PPtrIntArray retval);
29 C_EXPORT void QPrinterInfo_availablePrinters(PPtrIntArray retval);
30 C_EXPORT void QPrinterInfo_availablePrinterNames(QStringListH retval);
31 C_EXPORT void QPrinterInfo_defaultPrinter(QPrinterInfoH retval);
32 C_EXPORT void QPrinterInfo_printerInfo(QPrinterInfoH retval, PWideString printerName);
33 
34 #endif
35