From 2883c05cfa168106a3ec189aa4d339f435716bc0 Mon Sep 17 00:00:00 2001 From: APTX Date: Fri, 27 Mar 2009 19:33:55 +0100 Subject: [PATCH] - Fix GCC compile issues. --- abstractcommand.h | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) diff --git a/abstractcommand.h b/abstractcommand.h index 7f7fa4b..6f28e0f 100644 --- a/abstractcommand.h +++ b/abstractcommand.h @@ -16,24 +16,7 @@ class ANIDBUDPCLIENTSHARED_EXPORT AbstractCommand : public QObject Q_ENUMS(ReplyCode); public: - enum ReplyCode; - AbstractCommand(QObject *parent = 0); - virtual ~AbstractCommand(); - - virtual Command rawCommand() const; - - virtual bool waitForResult() const; - - virtual void setRawReply(ReplyCode replyCode, const QString &reply, AniDBUdpClient *client); - virtual QString rawReply() const; - - virtual ReplyCode replyCode() const; - -signals: - void replyReady(bool success = false); - -public: enum ReplyCode { CLIENT_DESTROYED = -1, @@ -170,6 +153,21 @@ public: API_VIOLATION = 666, //a }; + AbstractCommand(QObject *parent = 0); + virtual ~AbstractCommand(); + + virtual Command rawCommand() const; + + virtual bool waitForResult() const; + + virtual void setRawReply(ReplyCode replyCode, const QString &reply, AniDBUdpClient *client); + virtual QString rawReply() const; + + virtual ReplyCode replyCode() const; + +signals: + void replyReady(bool success = false); + protected: QString m_rawReply; ReplyCode m_replyCode; -- 2.52.0