Diffstat (limited to 'noncore/comm/keypebble/krfbdecoder.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/comm/keypebble/krfbdecoder.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/comm/keypebble/krfbdecoder.h b/noncore/comm/keypebble/krfbdecoder.h index 4ba0185..db6271d 100644 --- a/noncore/comm/keypebble/krfbdecoder.h +++ b/noncore/comm/keypebble/krfbdecoder.h | |||
@@ -89,46 +89,47 @@ protected slots: | |||
89 | void gotRectHeader(); | 89 | void gotRectHeader(); |
90 | void gotRawRectChunk(); | 90 | void gotRawRectChunk(); |
91 | void gotCopyRectPos(); | 91 | void gotCopyRectPos(); |
92 | void gotServerCut(); | 92 | void gotServerCut(); |
93 | void gotServerCutLength(); | 93 | void gotServerCutLength(); |
94 | void gotServerCutText(); | 94 | void gotServerCutText(); |
95 | void gotBell(); | 95 | void gotBell(); |
96 | 96 | ||
97 | signals: | 97 | signals: |
98 | void error( const QString & ); | 98 | void error( const QString & ); |
99 | void status( const QString & ); | 99 | void status( const QString & ); |
100 | 100 | ||
101 | protected: | ||
102 | /** The connection to the server. */ | ||
103 | KRFBConnection *con; | ||
101 | private: | 104 | private: |
102 | State currentState; | 105 | State currentState; |
103 | 106 | ||
104 | // Used to store the state we were in before a cut or bell msg | 107 | // Used to store the state we were in before a cut or bell msg |
105 | State oldState; | 108 | State oldState; |
106 | 109 | ||
107 | // The number of rects we're expecting | 110 | // The number of rects we're expecting |
108 | CARD16 noRects; | 111 | CARD16 noRects; |
109 | 112 | ||
110 | // | 113 | // |
111 | // Info about the current rect. | 114 | // Info about the current rect. |
112 | // | 115 | // |
113 | CARD16 x, y, w, h; | 116 | CARD16 x, y, w, h; |
114 | int lines; | 117 | int lines; |
115 | CARD32 encoding; | 118 | CARD32 encoding; |
116 | 119 | ||
117 | CARD32 serverCutTextLen; | 120 | CARD32 serverCutTextLen; |
118 | 121 | ||
119 | /** Where we draw the data (and the source of our events). */ | 122 | /** Where we draw the data (and the source of our events). */ |
120 | KRFBBuffer *buf; | 123 | KRFBBuffer *buf; |
121 | /** The connection to the server. */ | ||
122 | KRFBConnection *con; | ||
123 | 124 | ||
124 | /** Info about the RFB server. */ | 125 | /** Info about the RFB server. */ |
125 | KRFBServerInfo *info; | 126 | KRFBServerInfo *info; |
126 | /** The pixel format we want. */ | 127 | /** The pixel format we want. */ |
127 | KRFBPixelFormat *format; | 128 | KRFBPixelFormat *format; |
128 | 129 | ||
129 | CARD8 buttonMask; | 130 | CARD8 buttonMask; |
130 | }; | 131 | }; |
131 | 132 | ||
132 | #endif // KRFBDECODER_H | 133 | #endif // KRFBDECODER_H |
133 | 134 | ||
134 | 135 | ||