1 #pragma once 2 3 #include "GamePolicy.h" 4 5 #include "rapidjson/document.h" 6 7 class DefaultGamePolicy : public GamePolicy 8 { 9 public: 10 DefaultGamePolicy(rapidjson::Document *json); 11 12 /** Check if a hotkey is enabled. */ 13 virtual bool isHotkeyEnabled(UIMode mode, HotkeyModifier modifier, uint32_t key) const; 14 15 private: 16 bool extra_hotkeys; 17 }; 18