Audacity 3.2.0
Classes | Macros | Typedefs | Functions
AppCommandEvent.h File Reference

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

#include <wx/event.h>
#include <memory>
Include dependency graph for AppCommandEvent.h:
This graph shows which files directly or indirectly include this file:

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 OldStyleCommandPointer = std::shared_ptr< OldStyleCommand >
 
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

◆ EVT_APP_COMMAND

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

Definition at line 53 of file AppCommandEvent.h.

◆ wxAppCommandEventHandler

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

Definition at line 50 of file AppCommandEvent.h.

Typedef Documentation

◆ OldStyleCommandPointer

using OldStyleCommandPointer = std::shared_ptr<OldStyleCommand>

Definition at line 27 of file AppCommandEvent.h.

◆ wxAppCommandEventFunction

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

Definition at line 48 of file AppCommandEvent.h.

Function Documentation

◆ DECLARE_EXPORTED_EVENT_TYPE()

DECLARE_EXPORTED_EVENT_TYPE ( AUDACITY_DLL_API  ,
wxEVT_APP_COMMAND_RECEIVED  ,
1 
)