summaryrefslogtreecommitdiffstats
path: root/xbmc/settings/SettingCreator.h
diff options
context:
space:
mode:
Diffstat (limited to 'xbmc/settings/SettingCreator.h')
-rw-r--r--xbmc/settings/SettingCreator.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/xbmc/settings/SettingCreator.h b/xbmc/settings/SettingCreator.h
new file mode 100644
index 0000000..68d4588
--- /dev/null
+++ b/xbmc/settings/SettingCreator.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 2014-2018 Team Kodi
+ * This file is part of Kodi - https://kodi.tv
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ * See LICENSES/README.md for more information.
+ */
+
+#pragma once
+
+#include "settings/lib/ISettingCreator.h"
+
+class CSettingCreator : public ISettingCreator
+{
+public:
+ // implementation of ISettingCreator
+ std::shared_ptr<CSetting> CreateSetting(const std::string &settingType, const std::string &settingId, CSettingsManager *settingsManager = nullptr) const override;
+
+protected:
+ CSettingCreator() = default;
+ ~CSettingCreator() override = default;
+};