Browse Source

Minor fix to previous commit

release/0.19
Jessica James 8 years ago
parent
commit
427ddecf8d
  1. 4
      Jupiter/GenericCommand.h
  2. BIN
      Release/Jupiter.lib

4
Jupiter/GenericCommand.h

@ -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 &parameters); \ Jupiter::GenericCommand::ResponseLine *trigger(const Jupiter::ReadableString &parameters); \
const Jupiter::ReadableString &getHelp(const Jupiter::ReadableString &parameters); \ const Jupiter::ReadableString &getHelp(const Jupiter::ReadableString &parameters); \
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) \
}; };

BIN
Release/Jupiter.lib

Binary file not shown.
Loading…
Cancel
Save