UFO: Alien Invasion
Loading...
Searching...
No Matches
CmdListener Class Referenceabstract

Listener for command changes. More...

#include <cmd.h>

Inheritance diagram for CmdListener:
Inheritance graph
Collaboration diagram for CmdListener:
Collaboration graph

Public Member Functions

virtual ~CmdListener ()
virtual void onAdd (const char *cmdName)=0
virtual void onRemove (const char *cmdName)=0

Detailed Description

Listener for command changes.

Parameters
cmdNameThe name of the command that was created.

Definition at line 96 of file cmd.h.

Constructor & Destructor Documentation

◆ ~CmdListener()

virtual CmdListener::~CmdListener ( )
inlinevirtual

Definition at line 98 of file cmd.h.

Member Function Documentation

◆ onAdd()

virtual void CmdListener::onAdd ( const char * cmdName)
pure virtual

Implemented in GAMECmdListener.

◆ onRemove()

virtual void CmdListener::onRemove ( const char * cmdName)
pure virtual

Implemented in GAMECmdListener.


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