summaryrefslogtreecommitdiff
path: root/support/dktools/winprint.h
blob: 163548ac1a60eebabd2ae29923642994157ee5a4 (plain)
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
/*
Copyright 2020, Dirk Krause. All rights reserved.
SPDX-License-Identifier:	BSD-3-Clause
*/

#ifndef H_INCLUDED_winprint
/**	Include file only once.
*/
#define	H_INCLUDED_winprint 1

#ifndef	DK3_ALL_H_INCLUDED
#include <dk3all.h>
#endif

#include <dk3print.h>
#include <dk3prcfg.h>
#include <dk3prreq.h>


#include <wx/wxprec.h>
#ifdef __BORLANDC__
#pragma hdrstop
#endif
#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif
#include <wx/arrstr.h>
#include <wx/config.h>
#include <wx/filename.h>
#include <wx/gbsizer.h>
#include <wx/thread.h>
#include <wx/gauge.h>
#include <wx/help.h>
#include <wx/fs_zip.h>
#include <wx/cmdline.h>
#include <wx/dir.h>
#include <wx/version.h>
/*	__CHANGE__ 018:	Add futher wxWidgets header files.
*/

#include <dk3wxs.h>

#include <DkWxAppHelper.h>
#include <DkWxFrame.h>
#include <DkWxCommunicator.h>
#include <DkWxProgressDialog.h>
#include <DkWxHelpController.h>
#include <DkWxColorView.h>

#include "WinprintApp.h"
#include "WinprintFrame.h"
#include "WinprintThread.h"
#include "WinprintChooserDialog.h"


/*	__CHANGE__ 018:	Add header files for further classes and modules.
*/

/**	@defgroup	winprintwxids	wxWidgets IDs.
*/
/**@{*/
/**	Exit application.
*/
#define	WinprintFrame_Quit		(wxID_EXIT)

/**	Main window ID.
*/
#define	WinprintFrame_MainWindow	((wxID_HIGHEST) + 1)

/**	Show version dialog box.
*/
#define	WinprintFrame_Help_About	((WinprintFrame_MainWindow) + 1)

/**	Open table of contents for online help.
*/
#define	WinprintFrame_Help_Contents	((WinprintFrame_Help_About) + 1)

/**	Schedule print data.
*/
#define	WinprintFrame_Print		((WinprintFrame_Help_Contents) + 1)

/*	__CHANGE__ 017:	Add further IDs here as needed.
*/
/**@}*/



/**	@defgroup	winprintprogress	Progress levels vor winprint.
*/
/**@{*/

/**	Printer opened.
*/
#define	WINPRINT_LEVEL_1	100

/**	File created.
*/
#define	WINPRINT_LEVEL_2	900

/**@}*/
#endif