Audacity
3.2.0
src
commands
CommandHandler.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
Audacity - A Digital Audio Editor
4
Copyright 1999-2009 Audacity Team
5
File License: wxWidgets
6
7
Dan Horgan
8
9
******************************************************************/
/******************************************************************/
15
16
#ifndef __COMMANDHANDLER__
17
#define __COMMANDHANDLER__
18
19
#include <memory>
20
class
AudacityApp
;
21
class
AudacityProject
;
22
class
AppCommandEvent
;
23
class
CommandContext
;
24
25
class
CommandHandler
26
{
27
public
:
28
CommandHandler
();
29
~CommandHandler
();
30
31
// Whenever a command is received, process it.
32
void
OnReceiveCommand
(
AppCommandEvent
&event);
33
};
34
35
#endif
/* End of include guard: __COMMANDHANDLER__ */
AppCommandEvent
An event 'envelope' for sending Command objects through the wxwidgets event loop.
Definition:
AppCommandEvent.h:30
AudacityApp
AudacityApp is the 'main' class for Audacity.
Definition:
AudacityApp.h:42
AudacityProject
The top-level handle to an Audacity project. It serves as a source of events that other objects can b...
Definition:
Project.h:90
CommandContext
CommandContext provides additional information to an 'Apply()' command. It provides the project,...
Definition:
CommandContext.h:37
CommandHandler
Contains methods for applying commands that are passed to it.
Definition:
CommandHandler.h:26
CommandHandler::OnReceiveCommand
void OnReceiveCommand(AppCommandEvent &event)
Definition:
CommandHandler.cpp:38
CommandHandler::~CommandHandler
~CommandHandler()
Definition:
CommandHandler.cpp:34
CommandHandler::CommandHandler
CommandHandler()
Definition:
CommandHandler.cpp:30
Generated by
1.9.3