mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-04 09:42:40 +02:00
33 lines
742 B
C++
33 lines
742 B
C++
/*
|
|
* OptionsTabBase.h, part of VCMI engine
|
|
*
|
|
* Authors: listed in file AUTHORS in main folder
|
|
*
|
|
* License: GNU General Public License v2.0 or later
|
|
* Full text of license available in license.txt file, in main folder
|
|
*
|
|
*/
|
|
#pragma once
|
|
|
|
#include "../gui/InterfaceObjectConfigurable.h"
|
|
#include "../../lib/filesystem/ResourcePath.h"
|
|
|
|
VCMI_LIB_NAMESPACE_BEGIN
|
|
|
|
struct TurnTimerInfo;
|
|
struct SimturnsInfo;
|
|
|
|
VCMI_LIB_NAMESPACE_END
|
|
|
|
/// The options tab which is shown at the map selection phase.
|
|
class OptionsTabBase : public InterfaceObjectConfigurable
|
|
{
|
|
std::vector<TurnTimerInfo> getTimerPresets() const;
|
|
std::vector<SimturnsInfo> getSimturnsPresets() const;
|
|
|
|
public:
|
|
OptionsTabBase(const JsonPath & configPath);
|
|
|
|
void recreate();
|
|
};
|