aboutsummaryrefslogtreecommitdiff
path: root/gui/pages/global/BaseSettingsPage.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-07-20 23:47:46 +0200
committerPetr Mrázek <peterix@gmail.com>2014-07-20 23:47:46 +0200
commitbc05ad30aa7c3da5d76947e82012f50466bb5d39 (patch)
treeb74fb5c1cc7d73d930e555ad9427c3d4885379cb /gui/pages/global/BaseSettingsPage.h
parente178284172396ee51acb77c2daa8135b4855c12b (diff)
downloadPrismLauncher-bc05ad30aa7c3da5d76947e82012f50466bb5d39.tar.gz
PrismLauncher-bc05ad30aa7c3da5d76947e82012f50466bb5d39.tar.bz2
PrismLauncher-bc05ad30aa7c3da5d76947e82012f50466bb5d39.zip
Rework the settings dialog. Rework all of it. Thoroughly.
Also introduces the ColumnResizer from: https://github.com/agateau/columnresizer/
Diffstat (limited to 'gui/pages/global/BaseSettingsPage.h')
-rw-r--r--gui/pages/global/BaseSettingsPage.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/gui/pages/global/BaseSettingsPage.h b/gui/pages/global/BaseSettingsPage.h
deleted file mode 100644
index 55e5f2a4..00000000
--- a/gui/pages/global/BaseSettingsPage.h
+++ /dev/null
@@ -1,35 +0,0 @@
-/* Copyright 2014 MultiMC Contributors
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#pragma once
-
-#include "gui/pages/BasePage.h"
-
-class SettingsObject;
-
-class BaseSettingsPage : public BasePage
-{
-public:
- virtual ~BaseSettingsPage()
- {
- }
-
- void opened() override;
- bool apply() override;
-
-protected:
- virtual void loadSettings(SettingsObject *object) = 0;
- virtual void applySettings(SettingsObject *object) = 0;
-};