iPlug2 - C++ Audio Plug-in Framework
Public Member Functions | Static Public Member Functions | List of all members
ReaperExtBase Class Reference

Reaper extension base class interface. More...

#include <ReaperExtBase.h>

Inheritance diagram for ReaperExtBase:
[legend]

Public Member Functions

 ReaperExtBase (reaper_plugin_info_t *pRec)
 
void BeginInformHostOfParamChangeFromUI (int paramIdx) override
 
void EndInformHostOfParamChangeFromUI (int paramIdx) override
 
bool EditorResizeFromUI (int viewWidth, int viewHeight, bool needsPlatformResize) override
 
virtual void OnIdle ()
 
void RegisterAction (const char *actionName, std::function< void()> func, bool addMenuItem=false, int *pToggle=nullptr)
 
void ShowHideMainWindow ()
 
void ToggleDocking ()
 

Static Public Member Functions

static bool HookCommandProc (int command, int flag)
 
static int ToggleActionCallback (int command)
 

Detailed Description

Reaper extension base class interface.

Definition at line 27 of file ReaperExtBase.h.

Member Function Documentation

virtual void ReaperExtBase::OnIdle ( )
inlinevirtual
Todo:

Definition at line 42 of file ReaperExtBase.h.

References RegisterAction(), and ShowHideMainWindow().

void ReaperExtBase::RegisterAction ( const char *  actionName,
std::function< void()>  func,
bool  addMenuItem = false,
int *  pToggle = nullptr 
)
Todo:
Parameters
actionName

Definition at line 81 of file ReaperExtBase.cpp.

Referenced by OnIdle().

void ReaperExtBase::ShowHideMainWindow ( )
Todo:

Definition at line 54 of file ReaperExtBase.cpp.

Referenced by OnIdle().


The documentation for this class was generated from the following files: