diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
commit | 1f457376b478257b88d4a857f5ec1b6155442dd7 (patch) | |
tree | 2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/wximgsz.h | |
parent | ac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff) |
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/wximgsz.h')
-rw-r--r-- | support/dktools/wximgsz.h | 239 |
1 files changed, 192 insertions, 47 deletions
diff --git a/support/dktools/wximgsz.h b/support/dktools/wximgsz.h index baabc2f3a6..5040df083b 100644 --- a/support/dktools/wximgsz.h +++ b/support/dktools/wximgsz.h @@ -1,86 +1,231 @@ +/* +Copyright 2020, Dirk Krause. All rights reserved. +SPDX-License-Identifier: BSD-3-Clause +*/ -#ifndef WXIMGSZ_H_INCLUDED -/** Protection against multiple inclusion. */ -#define WXIMGSZ_H_INCLUDED 1 +#ifndef H_INCLUDED_wximgsz +/** Include file only once. +*/ +#define H_INCLUDED_wximgsz 1 -#ifdef DK3_USE_WX -#undef DK3_USE_WX +#ifndef DK4CONF_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4conf.h> +#else +#include <dktools-4/dk4conf.h> +#endif +#endif + +#ifndef DK4TYPES_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4types.h> +#else +#include <dktools-4/dk4types.h> +#endif +#endif + +#ifndef DK4NUMCO_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4numco.h> +#else +#include <dktools-4/dk4numco.h> +#endif #endif -/** Use wxWidgets libraries to build GUI programs. -*/ -#define DK3_USE_WX 1 -#include <dk3all.h> +#ifndef DK4MEM_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4mem.h> +#else +#include <dktools-4/dk4mem.h> +#endif +#endif -#if 0 -#include <dk3sock.h> +#ifndef DK4STRX_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4strx.h> +#else +#include <dktools-4/dk4strx.h> +#endif #endif -#if 0 -#include <dkt-version.h> +#ifndef DK4MAOXD_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4maoxd.h> +#else +#include <dktools-4/dk4maoxd.h> #endif +#endif + +#ifndef WX_WXPREC_H_INCLUDED #include <wx/wxprec.h> +#define WX_WXPREC_H_INCLUDED 1 +#endif + #ifdef __BORLANDC__ #pragma hdrstop #endif + #ifndef WX_PRECOMP +#ifndef WX_WX_H_INCLUDED #include <wx/wx.h> +#define WX_WX_H_INCLUDED 1 #endif +#endif + +#ifndef WX_ARRSTR_H_INCLUDED +#include <wx/arrstr.h> +#define WX_ARRSTR_H_INCLUDED 1 +#endif + +#ifndef WX_CONFIG_H_INCLUDED #include <wx/config.h> +#define WX_CONFIG_H_INCLUDED 1 +#endif + +#ifndef WX_FILENAME_H_INCLUDED #include <wx/filename.h> +#define WX_FILENAME_H_INCLUDED 1 +#endif + +#ifndef WX_GBSIZER_H_INCLUDED #include <wx/gbsizer.h> +#define WX_GBSIZER_H_INCLUDED 1 +#endif + +#ifndef WX_THREAD_H_INCLUDED #include <wx/thread.h> +#define WX_THREAD_H_INCLUDED 1 +#endif + +#ifndef WX_GAUGE_H_INCLUDED #include <wx/gauge.h> +#define WX_GAUGE_H_INCLUDED 1 +#endif + +#ifndef WX_HELP_H_INCLUDED #include <wx/help.h> +#define WX_HELP_H_INCLUDED 1 +#endif + +#ifndef WX_FS_ZIP_H_INCLUDED #include <wx/fs_zip.h> +#define WX_FS_ZIP_H_INCLUDED 1 +#endif + +#ifndef WX_CMDLINE_H_INCLUDED #include <wx/cmdline.h> -#include <wx/grid.h> -#include <wx/version.h> +#define WX_CMDLINE_H_INCLUDED 1 +#endif -#include "dk3wxs.h" -#include "dk4verswx.h" +#ifndef WX_DIR_H_INCLUDED +#include <wx/dir.h> +#define WX_DIR_H_INCLUDED 1 +#endif -#include "DkWxAppHelper.h" -#include "DkWxFrame.h" -#include "DkWxCommunicator.h" -#include "DkWxProgressDialog.h" -#include "DkWxHelpController.h" +#ifndef WX_SPINCTRL_H_INCLUDED +#include <wx/spinctrl.h> +#define WX_SPINCTRL_H_INCLUDED 1 +#endif -#include "DkWxImgszApp.h" -#include "DkWxImgszFrame.h" -#include "DkWxImgszOptionsDialog.h" +#ifndef WX_GRID_H_INCLUDED +#include <wx/grid.h> +#define WX_GRID_H_INCLUDED 1 +#endif -/** Event ID: Exit application. +/* __CHANGE__ 018: Add further wxWidgets header files. */ -#define DkWxImgsz_Quit wxID_EXIT -/** Event ID: Show about dialog box. -*/ -#define DkWxImgsz_About wxID_ABOUT -/** Event ID: Main window ID. -*/ -#define DkWxImgsz_MainWindow (wxID_HIGHEST + 1) +#ifndef DK4WXAPPLICTIONHELPER_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <Dk4WxApplicationHelper.h> +#else +#include <dktools-4/Dk4WxApplicationHelper.h> +#endif +#endif -/** Event ID: Open help contents. -*/ -#define DkWxImgsz_Help (DkWxImgsz_MainWindow + 1) +#ifndef DK4WXFRAME_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <Dk4WxFrame.h> +#else +#include <dktools-4/Dk4WxFrame.h> +#endif +#endif -/** Event ID: Start calculation. -*/ -#define DkWxImgsz_Run (DkWxImgsz_Help + 1) +#ifndef DK4WXPROGRESSDIALOG_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <Dk4WxProgressDialog.h> +#else +#include <dktools-4/Dk4WxProgressDialog.h> +#endif +#endif -/** Choice in the action was made. -*/ -#define DkWxImgsz_Choice (DkWxImgsz_Run + 1) +#ifndef DK4WXHELPCONTROLLER_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <Dk4WxHelpController.h> +#else +#include <dktools-4/Dk4WxHelpController.h> +#endif +#endif -/** Event ID: Extras -> Options. -*/ -#define DkWxImgsz_Options (DkWxImgsz_Choice + 1) +#ifndef DK4WXAUTOSTARTCONTROLLER_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <Dk4WxAutostartController.h> +#else +#include <dktools-4/Dk4WxAutostartController.h> +#endif +#endif -/** Event ID: Open file. +#ifndef DK4MAADI_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4maadi.h> +#else +#include <dktools-4/dk4maadi.h> +#endif +#endif + +#ifndef DK4VERSWX_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4verswx.h> +#else +#include <dktools-4/dk4verswx.h> +#endif +#endif + +#ifndef DK4RECWX_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4recwx.h> +#else +#include <dktools-4/dk4recwx.h> +#endif +#endif + +#ifndef DK4MPL_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4mpl.h> +#else +#include <dktools-4/dk4mpl.h> +#endif +#endif + +#ifndef DK4BIF_H_INCLUDED +#if DK4_BUILDING_DKTOOLS4 +#include <dk4bif.h> +#else +#include <dktools-4/dk4bif.h> +#endif +#endif + +#include "WximgszApp.h" + +#include "WximgszFrame.h" + +/* __CHANGE__ 018: Add header files for further classes and modules. */ -#define DkWxImgsz_Open (DkWxImgsz_Options + 1) + + #endif +/* vim: set ai sw=4 ts=4 : */ + |