35 #ifndef _CommandNotification_H__ 36 #define _CommandNotification_H__ 82 {
return this->command_; }
88 {
return this->preMessage_; }
94 {
return this->postMessage_; }
97 virtual const std::string& createNotificationMessage(
void);
104 void registerVariables(
void);
117 { this->preMessage_ =
message; }
123 { this->postMessage_ =
message; }
128 #endif // _CommandNotification_H__ std::string command_
The name of the command.
Definition: CommandNotification.h:100
void setPostMessage(const std::string &message)
Set the postMessage, the last part of the displayed message.
Definition: CommandNotification.h:122
::std::string string
Definition: gtest-port.h:756
A NotificationDispatcher is an entity that, upon being triggered, dispatches (or sends) a specified N...
Definition: NotificationDispatcher.h:75
Output level, used for messages directed to the user (e.g. "Press any key to continue") ...
Definition: OutputDefinitions.h:89
#define _NotificationsExport
Definition: NotificationsPrereqs.h:60
std::string preMessage_
The first part of the displayed message.
Definition: CommandNotification.h:101
xmlelement
Definition: Super.h:519
This class implements a method of displaying a Notification with information to an input command and ...
Definition: CommandNotification.h:68
Definition of the NotificationDispatcher class.
std::string postMessage_
The last part of the displayed message.
Definition: CommandNotification.h:102
const std::string & getPostMessage(void)
Get the postMessage, the last part of the displayed message.
Definition: CommandNotification.h:93
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
ARGUMENT_COMPLETION_FUNCTION_IMPLEMENTATION_MULTI() command(const std::string &fragment)
Returns a list of commands and groups and also supports auto-completion of the arguments of these com...
Definition: ArgumentCompletionFunctions.cc:178
Shared library macros, enums, constants and forward declarations for the questsystem module ...
Mode
Definition: CorePrereqs.h:102
void setPreMessage(const std::string &message)
Set the preMessage, the first part of the displayed message.
Definition: CommandNotification.h:116
const std::string & getPreMessage(void)
Get the preMessage, the first part of the displayed message.
Definition: CommandNotification.h:87
void setCommand(const std::string &command)
Set the command, whose key is displayed.
Definition: CommandNotification.h:110
const std::string & getCommand(void)
Get the command, whose key is displayed.
Definition: CommandNotification.h:81