summaryrefslogtreecommitdiffstats
path: root/xbmc/settings/SettingCreator.h
blob: 68d4588f808e255ad4613f8318d4a9ee8907e5ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
};