OptionsTabBase.h 742 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * OptionsTabBase.h, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #pragma once
  11. #include "../gui/InterfaceObjectConfigurable.h"
  12. #include "../../lib/filesystem/ResourcePath.h"
  13. VCMI_LIB_NAMESPACE_BEGIN
  14. struct TurnTimerInfo;
  15. struct SimturnsInfo;
  16. VCMI_LIB_NAMESPACE_END
  17. /// The options tab which is shown at the map selection phase.
  18. class OptionsTabBase : public InterfaceObjectConfigurable
  19. {
  20. std::vector<TurnTimerInfo> getTimerPresets() const;
  21. std::vector<SimturnsInfo> getSimturnsPresets() const;
  22. public:
  23. OptionsTabBase(const JsonPath & configPath);
  24. void recreate();
  25. };