mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-22 16:41:18 +01:00
Locate and position the current Audacity source code, and clear a variety of old junk out of the way into junk-branches
This commit is contained in:
51
src/commands/CommandHandler.h
Normal file
51
src/commands/CommandHandler.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/**********************************************************************
|
||||
|
||||
Audacity - A Digital Audio Editor
|
||||
Copyright 1999-2009 Audacity Team
|
||||
File License: wxWidgets
|
||||
|
||||
Dan Horgan
|
||||
|
||||
******************************************************************//**
|
||||
|
||||
\file CommandHandler.h
|
||||
\brief Contains declarations for the CommandHandler class.
|
||||
|
||||
*//******************************************************************/
|
||||
|
||||
#ifndef __COMMANDHANDLER__
|
||||
#define __COMMANDHANDLER__
|
||||
|
||||
#include "../AudacityApp.h"
|
||||
class AudacityProject;
|
||||
class AppCommandEvent;
|
||||
class CommandExecutionContext;
|
||||
|
||||
class CommandHandler
|
||||
{
|
||||
private:
|
||||
CommandExecutionContext *mCurrentContext;
|
||||
|
||||
public:
|
||||
CommandHandler(AudacityApp &app);
|
||||
~CommandHandler();
|
||||
|
||||
// This should only be used during initialization
|
||||
void SetProject(AudacityProject *proj);
|
||||
|
||||
// Whenever a command is recieved, process it.
|
||||
void OnReceiveCommand(AppCommandEvent &event);
|
||||
};
|
||||
|
||||
#endif /* End of include guard: __COMMANDHANDLER__ */
|
||||
|
||||
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
|
||||
// version control system. Please do not modify past this point.
|
||||
//
|
||||
// Local Variables:
|
||||
// c-basic-offset: 3
|
||||
// indent-tabs-mode: nil
|
||||
// End:
|
||||
//
|
||||
// vim: et sts=3 sw=3
|
||||
// arch-tag: TBD
|
||||
Reference in New Issue
Block a user