1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-16 10:19:47 +02:00
vcmi/client/lobby/OptionsTabBase.h

33 lines
742 B
C++
Raw Normal View History

/*
* 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"
2023-12-07 16:36:44 +02:00
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
{
2023-12-07 16:36:44 +02:00
std::vector<TurnTimerInfo> getTimerPresets() const;
std::vector<SimturnsInfo> getSimturnsPresets() const;
public:
OptionsTabBase(const JsonPath & configPath);
void recreate();
};