diff --git a/include/RE/M/MenuControls.h b/include/RE/M/MenuControls.h index b36586c9b..55e6daf31 100644 --- a/include/RE/M/MenuControls.h +++ b/include/RE/M/MenuControls.h @@ -4,6 +4,7 @@ #include "RE/B/BSTEvent.h" #include "RE/B/BSTSingleton.h" #include "RE/B/BSTSmartPointer.h" +#include "RE/Q/QuickSaveLoadHandler.h" namespace RE { @@ -15,7 +16,6 @@ namespace RE struct DirectionHandler; struct FavoritesHandler; struct MenuOpenHandler; - struct QuickSaveLoadHandler; struct ScreenshotHandler; class MenuControls : diff --git a/include/RE/Q/QuickSaveLoadHandler.h b/include/RE/Q/QuickSaveLoadHandler.h new file mode 100644 index 000000000..72bb80067 --- /dev/null +++ b/include/RE/Q/QuickSaveLoadHandler.h @@ -0,0 +1,29 @@ +#pragma once + +#include "RE/M/MenuEventHandler.h" + +namespace RE +{ + class ButtonEvent; + class InputEvent; + class KinectEvent; + class MouseMoveEvent; + class ThumbstickEvent; + + class QuickSaveLoadHandler : public MenuEventHandler + { + public: + inline static constexpr auto RTTI = RTTI_QuickSaveLoadHandler; + inline static constexpr auto VTABLE = VTABLE_QuickSaveLoadHandler; + + ~QuickSaveLoadHandler() override; // 00 + + // override (MenuEventHandler) + bool CanProcess(InputEvent* a_event) override; // 01 + bool ProcessKinect(KinectEvent* a_event) override; // 02 + bool ProcessThumbstick(ThumbstickEvent* a_event) override; // 03 + bool ProcessMouseMove(MouseMoveEvent* a_event) override; // 04 + bool ProcessButton(ButtonEvent* a_event) override; // 05 + }; + static_assert(sizeof(QuickSaveLoadHandler) == 0x10); +}