#ifndef SERVERPROTOCOLVERSIONMESSAGE_H
#define SERVERPROTOCOLVERSIONMESSAGE_H

#include "servermessagebase.h"
#include "clientglobals.h"
#include <QDebug>

class ServerProtocolVersionMessage : public ServerMessageBase
{
public:

    ServerProtocolVersionMessage();

    ClientGlobals::RfbVersion version() const;

    virtual bool loadMessage( QIODevice *device );

private:
    ClientGlobals::RfbVersion m_version;
};
QDebug operator<<(QDebug in, ServerProtocolVersionMessage &message );
#endif // SERVERPROTOCOLVERSIONMESSAGE_H

