Audacity  2.2.2
Classes | Macros | Typedefs | Functions
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.

Definition in file AppCommandEvent.h.

Macro Definition Documentation

#define EVT_APP_COMMAND (   winid,
  fn 
)    DECLARE_EVENT_TABLE_ENTRY( wxEVT_APP_COMMAND_RECEIVED, winid, wxID_ANY, wxAppCommandEventHandler(fn), (wxObject *) NULL ),

Definition at line 52 of file AppCommandEvent.h.

#define wxAppCommandEventHandler (   func)    (wxObjectEventFunction)(wxEventFunction)wxStaticCastEvent(wxAppCommandEventFunction, &func)

Definition at line 49 of file AppCommandEvent.h.

Typedef Documentation

using CommandHolder = std::shared_ptr<Command>

Definition at line 26 of file AppCommandEvent.h.

typedef void(wxEvtHandler::* wxAppCommandEventFunction)(AppCommandEvent &)

Definition at line 47 of file AppCommandEvent.h.

Function Documentation

DECLARE_EXPORTED_EVENT_TYPE ( AUDACITY_DLL_API  ,
wxEVT_APP_COMMAND_RECEIVED  ,
1 
)