Audacity  2.2.2
Public Member Functions | Public Attributes | List of all members
CommandContext Struct Reference

#include <CommandFunctors.h>

Public Member Functions

 CommandContext (AudacityProject &p, const wxEvent *e=nullptr, int ii=0, const CommandParameter &param=CommandParameter{})
 

Public Attributes

AudacityProjectproject
 
const wxEvent * pEvt
 
int index
 
CommandParameter parameter
 

Detailed Description

Definition at line 40 of file CommandFunctors.h.

Constructor & Destructor Documentation

CommandContext::CommandContext ( AudacityProject p,
const wxEvent *  e = nullptr,
int  ii = 0,
const CommandParameter param = CommandParameter{} 
)
inline

Definition at line 41 of file CommandFunctors.h.

45  {}
46  )
47  : project{ p }
48  , pEvt{ e }
49  , index{ ii }
50  , parameter{ param }
51  {}
const wxEvent * pEvt
CommandParameter parameter
AudacityProject & project

Member Data Documentation

int CommandContext::index

Definition at line 55 of file CommandFunctors.h.

Referenced by AudacityProject::OnAlign(), and AudacityProject::OnAlignNoSync().

CommandParameter CommandContext::parameter

Definition at line 56 of file CommandFunctors.h.

Referenced by AudacityProject::OnEffect().

const wxEvent* CommandContext::pEvt
AudacityProject& CommandContext::project

Definition at line 53 of file CommandFunctors.h.


The documentation for this struct was generated from the following file: