kwave  18.07.70
Kwave::CommandHandler Class Referenceabstract

#include <CommandHandler.h>

Inheritance diagram for Kwave::CommandHandler:
Inheritance graph
Collaboration diagram for Kwave::CommandHandler:
Collaboration graph

Public Member Functions

 CommandHandler ()
 
virtual ~CommandHandler ()
 
virtual int executeCommand (const QString &command)=0
 

Detailed Description

Definition at line 27 of file CommandHandler.h.

Constructor & Destructor Documentation

◆ CommandHandler()

Kwave::CommandHandler::CommandHandler ( )
inline

default constructor

Definition at line 32 of file CommandHandler.h.

32 {}

◆ ~CommandHandler()

virtual Kwave::CommandHandler::~CommandHandler ( )
inlinevirtual

destructor

Definition at line 35 of file CommandHandler.h.

References executeCommand().

35 {}
Here is the call graph for this function:

Member Function Documentation

◆ executeCommand()

virtual int Kwave::CommandHandler::executeCommand ( const QString &  command)
pure virtual

Execute a Kwave text command

Parameters
commanda text command
Returns
zero if succeeded or negative error code if failed
Return values
-ENOSYSis returned if the command is unknown in this component

Referenced by Kwave::FileContext::executeCommand(), and ~CommandHandler().

Here is the caller graph for this function:

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