22struct reaper_plugin_info_t;
35 void BeginInformHostOfParamChangeFromUI(
int paramIdx)
override {};
37 void EndInformHostOfParamChangeFromUI(
int paramIdx)
override {};
39 bool EditorResizeFromUI(
int viewWidth,
int viewHeight,
bool needsPlatformResize)
override;
49 void RegisterAction(
const char* actionName, std::function<
void()> func,
bool addMenuItem =
false,
int* pToggle =
nullptr);
58 static bool HookCommandProc(
int command,
int flag);
61 static int ToggleActionCallback(
int command);
64 static WDL_DLGRET MainDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
66 void OnTimer(
Timer& t);
68 reaper_plugin_info_t* mRec =
nullptr;
69 std::unique_ptr<Timer> mTimer;
Used for choosing an editor delegate.
This file includes classes for implementing timers - in order to get a regular callback on the main t...
Reaper extension base class interface.
void ShowHideMainWindow()
Toggles the visibility of the main extension window.
void RegisterAction(const char *actionName, std::function< void()> func, bool addMenuItem=false, int *pToggle=nullptr)
Registers an action with the REAPER extension system.
virtual void OnIdle()
Called during idle processing - override to perform periodic tasks.