1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-02 09:02:03 +02:00
vcmi/client/lobby/OptionsTabBase.h
2024-02-07 21:40:56 +01:00

33 lines
763 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(bool campaign = false);
};