mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-07 23:15:36 +01:00
// Indentation settings for Vim and Emacs etc. lines from all files, as Campbell's patch (except for other changes to Languages.cpp)
45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
/**********************************************************************
|
|
|
|
Audacity - A Digital Audio Editor
|
|
Copyright 1999-2009 Audacity Team
|
|
File License: wxWidgets
|
|
|
|
Dan Horgan
|
|
|
|
******************************************************************//**
|
|
|
|
\file MessageCommand.h
|
|
\brief Contains definition of MessageCommand class.
|
|
|
|
*//***************************************************************//***
|
|
|
|
\class MessageCommand
|
|
\brief Command to send a message (currently on the status channel)
|
|
|
|
*//*******************************************************************/
|
|
|
|
#ifndef __MESSAGECOMMAND__
|
|
#define __MESSAGECOMMAND__
|
|
|
|
#include "Command.h"
|
|
#include "CommandType.h"
|
|
|
|
class MessageCommandType : public CommandType
|
|
{
|
|
public:
|
|
virtual wxString BuildName();
|
|
virtual void BuildSignature(CommandSignature &signature);
|
|
virtual Command *Create(CommandOutputTarget *target);
|
|
};
|
|
|
|
class MessageCommand : public CommandImplementation
|
|
{
|
|
public:
|
|
MessageCommand(CommandType &type,
|
|
CommandOutputTarget *target)
|
|
: CommandImplementation(type, target) {}
|
|
virtual bool Apply(CommandExecutionContext context);
|
|
};
|
|
|
|
#endif /* End of include guard: __MESSAGECOMMAND__ */
|