]> Some of my projects - anidbudpclient.git/commitdiff
- Fix GCC compile issues.
authorAPTX <mail@example.com>
Fri, 27 Mar 2009 18:33:55 +0000 (19:33 +0100)
committerAPTX <mail@example.com>
Fri, 27 Mar 2009 18:33:55 +0000 (19:33 +0100)
abstractcommand.h

index 7f7fa4b9c08a865edfe79c53cb46aef20dfecf7f..6f28e0fef0379026cf09a4ff7b8dbfda0b12c7fd 100644 (file)
@@ -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;