|
|
@ -9,10 +9,10 @@ |
|
|
|
using michlib::MDateTime; |
|
|
|
using michlib::MDateTime; |
|
|
|
|
|
|
|
|
|
|
|
#if defined GENACTIONLIST |
|
|
|
#if defined GENACTIONLIST |
|
|
|
#define ADD_ACTION(actclass, actname, suptest) ADD ACTION CLASS: actclass |
|
|
|
#define ADD_ACTION(actclass, actname, suptest, ...) ADD ACTION CLASS: actclass |
|
|
|
#else |
|
|
|
#else |
|
|
|
#define ADD_ACTION(actclass, actname, suptest) \ |
|
|
|
#define ADD_ACTION(actclass, actname, suptest, ...) \ |
|
|
|
class Action##actclass \
|
|
|
|
class Action##actclass __VA_OPT__( : public) __VA_ARGS__ \
|
|
|
|
{ \
|
|
|
|
{ \
|
|
|
|
public: \
|
|
|
|
public: \
|
|
|
|
static constexpr const char* name = #actname; \
|
|
|
|
static constexpr const char* name = #actname; \
|
|
|
|