#ifndef SERVERFRAMEBUFFERINITMESSAGE_H
#define SERVERFRAMEBUFFERINITMESSAGE_H

#include "servermessagebase.h"
#include "pixelformat.h"
#include <QSize>
#include <QString>
#include <QDebug>

class ServerFramebufferInitMessage : public ServerMessageBase
{
public:
    ServerFramebufferInitMessage();
public:
    QSize size() const;
    QString desktopName() const;
    PixelFormat pixelFormat() const;

    virtual bool loadMessage( QIODevice *device );

private:
    PixelFormat m_pixelFormat;
    QSize m_size;
    QString m_desktopName;
};
QDebug operator<<(QDebug in, ServerFramebufferInitMessage &message );
#endif // SERVERFRAMEBUFFERINITMESSAGE_H

