diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-02 12:47:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-02 19:23:21 +0100 |
| commit | 6877f18489edabfc2d91480b6249d1a594e88b0d (patch) | |
| tree | 9a91d7d65ccbeb00288faa8daacd968f81d8604c /src/wx/config_dialog.h | |
| parent | a073de1b022b362347d46b7895dc946d6506cf95 (diff) | |
Rename config_dialog.{cc,h} -> preferences_page.{cc,h}
Also trim some includes.
Diffstat (limited to 'src/wx/config_dialog.h')
| -rw-r--r-- | src/wx/config_dialog.h | 88 |
1 files changed, 0 insertions, 88 deletions
diff --git a/src/wx/config_dialog.h b/src/wx/config_dialog.h deleted file mode 100644 index f87e60f45..000000000 --- a/src/wx/config_dialog.h +++ /dev/null @@ -1,88 +0,0 @@ -/* - Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net> - - This file is part of DCP-o-matic. - - DCP-o-matic is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - DCP-o-matic is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with DCP-o-matic. If not, see <http://www.gnu.org/licenses/>. - -*/ - - -#ifndef DCPOMATIC_CONFIG_DIALOG_H -#define DCPOMATIC_CONFIG_DIALOG_H - - -#include "editable_list.h" -#include "make_chain_dialog.h" -#include "wx_util.h" -#include "lib/config.h" -#include "lib/cross.h" -#include "lib/dcp_content_type.h" -#include "lib/exceptions.h" -#include "lib/filter.h" -#include "lib/log.h" -#include "lib/ratio.h" -#include <dcp/certificate_chain.h> -#include <dcp/exceptions.h> -#include <dcp/locale_convert.h> -#include <dcp/warnings.h> -LIBDCP_DISABLE_WARNINGS -#include <wx/filepicker.h> -#include <wx/preferences.h> -#include <wx/spinctrl.h> -#include <wx/stdpaths.h> -#include <RtAudio.h> -LIBDCP_ENABLE_WARNINGS -#include <boost/filesystem.hpp> - - -class AudioMappingView; -class CheckBox; - - -namespace dcpomatic { -namespace preferences { - - -class Page : public wxPreferencesPage -{ -public: - Page(wxSize panel_size, int border); - virtual ~Page() {} - - wxWindow* CreateWindow(wxWindow* parent) override; - -protected: - wxWindow* create_window(wxWindow* parent); - - int _border; - wxPanel* _panel; - -private: - virtual void config_changed() = 0; - virtual void setup() = 0; - - void config_changed_wrapper(); - void window_destroyed(); - - wxSize _panel_size; - boost::signals2::scoped_connection _config_connection; - bool _window_exists; -}; - - -} -} - -#endif |
