|
@ -105,13 +105,13 @@ namespace Jupiter |
|
|
#define BASE_GENERIC_COMMAND(CLASS) \ |
|
|
#define BASE_GENERIC_COMMAND(CLASS) \ |
|
|
public: \ |
|
|
public: \ |
|
|
CLASS(); \ |
|
|
CLASS(); \ |
|
|
GenericCommand::ResponseLine *trigger(const Jupiter::ReadableString ¶meters); \ |
|
|
Jupiter::GenericCommand::ResponseLine *trigger(const Jupiter::ReadableString ¶meters); \ |
|
|
const Jupiter::ReadableString &getHelp(const Jupiter::ReadableString ¶meters); \ |
|
|
const Jupiter::ReadableString &getHelp(const Jupiter::ReadableString ¶meters); \ |
|
|
static CLASS instance; |
|
|
static CLASS instance; |
|
|
|
|
|
|
|
|
/** Expands to become the entire declaration for a generic command. In most cases, this will be sufficient. */ |
|
|
/** Expands to become the entire declaration for a generic command. In most cases, this will be sufficient. */ |
|
|
#define GENERIC_GENERIC_COMMAND(CLASS) \ |
|
|
#define GENERIC_GENERIC_COMMAND(CLASS) \ |
|
|
class CLASS : public GenericCommand { \ |
|
|
class CLASS : public Jupiter::GenericCommand { \ |
|
|
BASE_GENERIC_COMMAND(CLASS) \ |
|
|
BASE_GENERIC_COMMAND(CLASS) \ |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|