X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdialogs.h;h=43167294cc35ec77f830e39cccadf25b8aeae13d;hb=9776c9a12ba53419d34563a5ec57c90e3d6798f4;hp=2497562355365f6658ca533d7dfe6a82df08f467;hpb=1a7c2cc82f5a0c04bec766776e57c563378dc611;p=ctsim.git diff --git a/src/dialogs.h b/src/dialogs.h index 2497562..4316729 100644 --- a/src/dialogs.h +++ b/src/dialogs.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: dialogs.h,v 1.29 2001/02/22 00:56:50 kevin Exp $ +** $Id: dialogs.h,v 1.31 2001/02/22 18:22:40 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -56,24 +56,24 @@ public: class StringValueAndTitleListBox : public wxListBox { public: - StringValueAndTitleListBox (wxDialog* pParent, int nChoices, const char* aszTitle[], const char* aszValue[]); + StringValueAndTitleListBox (wxDialog* pParent, int nChoices, const char* const aszTitle[], const char* const aszValue[]); const char* getSelectionStringValue () const; private: - const char** m_ppszValues; + const char* const* m_ppszValues; }; class StringValueAndTitleRadioBox : public wxRadioBox { public: - StringValueAndTitleRadioBox (wxDialog* pParent, const wxString& strTitle, int nChoices, const char* aszTitle[], const char* aszValue[]); + StringValueAndTitleRadioBox (wxDialog* pParent, const wxString& strTitle, int nChoices, const char* const aszTitle[], const char* const aszValue[]); const char* getSelectionStringValue () const; private: - const char** m_ppszValues; + const char* const* m_ppszValues; }; @@ -113,19 +113,21 @@ class DialogPreferences : public wxDialog { public: DialogPreferences (wxWindow* pParent, const char* const pszTitle, bool bAdvanced, bool bAskNewDocs, - bool bVerboseLogging, bool bStartupTips); + bool bVerboseLogging, bool bStartupTips, bool bUseBackgroundTasks); virtual ~DialogPreferences (); bool getAdvancedOptions (); bool getAskDeleteNewDocs (); bool getVerboseLogging (); bool getStartupTips (); + bool getUseBackgroundTasks(); private: wxCheckBox* m_pCBAdvancedOptions; wxCheckBox* m_pCBAskDeleteNewDocs; wxCheckBox* m_pCBVerboseLogging; wxCheckBox* m_pCBStartupTips; + wxCheckBox* m_pCBUseBackgroundTasks; };