Changeset View
Changeset View
Standalone View
Standalone View
krfb/framebuffer.h
Show All 11 Lines | |||||
12 | 12 | | |||
13 | #include "rfb.h" | 13 | #include "rfb.h" | ||
14 | 14 | | |||
15 | #include "krfbprivate_export.h" | 15 | #include "krfbprivate_export.h" | ||
16 | 16 | | |||
17 | #include <QObject> | 17 | #include <QObject> | ||
18 | #include <QRect> | 18 | #include <QRect> | ||
19 | #include <QList> | 19 | #include <QList> | ||
20 | #include <QVariant> | ||||
20 | #include <QWidget> | 21 | #include <QWidget> | ||
21 | 22 | | |||
22 | 23 | | |||
23 | class FrameBuffer; | 24 | class FrameBuffer; | ||
24 | /** | 25 | /** | ||
25 | @author Alessandro Praduroux <pradu@pradu.it> | 26 | @author Alessandro Praduroux <pradu@pradu.it> | ||
26 | */ | 27 | */ | ||
27 | class KRFBPRIVATE_EXPORT FrameBuffer : public QObject | 28 | class KRFBPRIVATE_EXPORT FrameBuffer : public QObject | ||
Show All 11 Lines | 31 | public: | |||
39 | virtual int width(); | 40 | virtual int width(); | ||
40 | virtual int height(); | 41 | virtual int height(); | ||
41 | virtual int depth(); | 42 | virtual int depth(); | ||
42 | virtual void startMonitor(); | 43 | virtual void startMonitor(); | ||
43 | virtual void stopMonitor(); | 44 | virtual void stopMonitor(); | ||
44 | 45 | | |||
45 | virtual void getServerFormat(rfbPixelFormat &format); | 46 | virtual void getServerFormat(rfbPixelFormat &format); | ||
46 | 47 | | |||
48 | virtual QVariant customProperty(const QString &property) const; | ||||
49 | Q_SIGNALS: | ||||
50 | void frameBufferChanged(); | ||||
51 | | ||||
47 | protected: | 52 | protected: | ||
48 | WId win; | 53 | WId win; | ||
49 | char *fb; | 54 | char *fb; | ||
50 | QList<QRect> tiles; | 55 | QList<QRect> tiles; | ||
51 | 56 | | |||
52 | private: | 57 | private: | ||
53 | Q_DISABLE_COPY(FrameBuffer) | 58 | Q_DISABLE_COPY(FrameBuffer) | ||
54 | 59 | | |||
55 | }; | 60 | }; | ||
56 | 61 | | |||
57 | #endif | 62 | #endif |