Audacity  2.2.0
AppCommandEvent.h File Reference

Headers and event table macros for AppCommandEvent. More...

#include <wx/event.h>
#include "../Audacity.h"
#include "../MemoryX.h"

Go to the source code of this file.

Classes

class  AppCommandEvent
 An event 'envelope' for sending Command objects through the wxwidgets event loop. More...
 

Macros

#define wxAppCommandEventHandler(func)   (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxAppCommandEventFunction, &func)
 
#define EVT_APP_COMMAND(winid, fn)   DECLARE_EVENT_TABLE_ENTRY( wxEVT_APP_COMMAND_RECEIVED, winid, wxID_ANY, wxAppCommandEventHandler(fn), (wxObject *) NULL ),
 

Typedefs

using CommandHolder = std::shared_ptr< Command >
 
typedef void(wxEvtHandler::* wxAppCommandEventFunction )(AppCommandEvent &)
 

Functions

 DECLARE_EXPORTED_EVENT_TYPE (AUDACITY_DLL_API, wxEVT_APP_COMMAND_RECEIVED,-1)
 

Detailed Description

Headers and event table macros for AppCommandEvent.

Macro Definition Documentation

#define EVT_APP_COMMAND (   winid,
  fn 
)    DECLARE_EVENT_TABLE_ENTRY( wxEVT_APP_COMMAND_RECEIVED, winid, wxID_ANY, wxAppCommandEventHandler(fn), (wxObject *) NULL ),
#define wxAppCommandEventHandler (   func)    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxAppCommandEventFunction, &func)

Typedef Documentation

using CommandHolder = std::shared_ptr<Command>
typedef void(wxEvtHandler::* wxAppCommandEventFunction)(AppCommandEvent &)

Function Documentation

DECLARE_EXPORTED_EVENT_TYPE ( AUDACITY_DLL_API  ,
wxEVT_APP_COMMAND_RECEIVED  ,
1 
)