friend class Client; \
public: \
typedef name##Command CommandType; \
+inline const CommandType &command() const { return m_command; } \
private: \
CommandType m_command; \
name##Reply(const CommandType command, const QByteArray &id, QObject *parent) : AbstractReply(id, parent), m_command(command) {constructor} \
-inline const CommandType &command() const { return m_command; }
#define REPLY_DEFINITION_HELPER(name) \
REPLY_DEFINITION_HELPER_INTERNAL(name, m_commandPtr = &m_command;)