1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +02:00
vcmi/client/lobby/OptionsTabBase.h
2023-12-07 16:36:44 +02:00

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();
};