#include "krfbconnection.h"#include "krfbserverinfo.h"#include "krfbdecoder.h"#include "krfbbuffer.h"#include <opie2/odebug.h>#include <qpixmap.h>#include <assert.h>Include dependency graph for krfbdecoder.cpp:

Go to the source code of this file.
Defines | |
| #define | Swap16IfLE(s) (*(char *)&endianTest ? ((((s) & 0xff) << 8) | (((s) >> 8) & 0xff)) : (s)) |
| #define | Swap32IfLE(l) |
Variables | |
| const int | endianTest = 1 |
| const int | ServerInitLength = 24 |
| const int | UpdateHeaderLength = 4 |
| const int | RectHeaderLength = 12 |
| const int | RectChunkSize = 4 |
| const int | CopyRectPosLength = 4 |
| const int | ServerCutLenLength = 7 |
| static CARD8 | SetPixelFormatId = 0 |
| static CARD8 | SetEncodingsId = 2 |
| static CARD8 | UpdateRequestId = 3 |
| static CARD8 | KeyEventId = 4 |
| static CARD8 | PointerEventId = 5 |
| static CARD8 | ClientCutTextId = 6 |
| static CARD8 | UpdateId = 0 |
| static CARD8 | BellId = 2 |
| static CARD8 | ServerCutId = 3 |
| static CARD32 | RawEncoding = Swap32IfLE( 0 ) |
| static CARD32 | CopyRectEncoding = Swap32IfLE(1 ) |
| static CARD32 | RreEncoding = Swap32IfLE( 2 ) |
| static CARD32 | CorreEncoding = Swap32IfLE( 4 ) |
| static CARD32 | HexTileEncoding = Swap32IfLE( 5 ) |
| struct { | |
| int keysym | |
| int keycode | |
| } | keyMap [] |
|
|
Definition at line 23 of file krfbdecoder.cpp. |
|
|
Value: (*(char *)&endianTest ? ((((l) & 0xff000000) >> 24) | \ (((l) & 0x00ff0000) >> 8) | \ (((l) & 0x0000ff00) << 8) | \ (((l) & 0x000000ff) << 24)) : (l)) Definition at line 26 of file krfbdecoder.cpp. |
|
|
Definition at line 57 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotUpdateHeader(). |
|
|
Definition at line 51 of file krfbdecoder.cpp. Referenced by KRFBDecoder::sendCutEvent(). |
|
|
Definition at line 64 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotRectHeader(), and KRFBDecoder::sendAllowedEncodings(). |
|
|
Definition at line 39 of file krfbdecoder.cpp. Referenced by KRFBDecoder::handleCopyRect(). |
|
|
Definition at line 66 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotRectHeader(), and KRFBDecoder::sendAllowedEncodings(). |
|
|
Definition at line 20 of file krfbdecoder.cpp. |
|
|
Definition at line 67 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotRectHeader(), and KRFBDecoder::sendAllowedEncodings(). |
|
|
|
Definition at line 49 of file krfbdecoder.cpp. Referenced by KRFBDecoder::sendKeyPressEvent(), and KRFBDecoder::sendKeyReleaseEvent(). |
|
|
Referenced by KeyHelperWidget::doEvent(), KeyHelper::dumpkeymap(), MapInfo::findKeyMap(), KHCWidget::onClick_Gen(), and KRFBDecoder::toKeySym(). |
|
|
Definition at line 70 of file krfbdecoder.cpp. |
|
|
Definition at line 50 of file krfbdecoder.cpp. Referenced by KRFBDecoder::sendMouseEvent(). |
|
|
Definition at line 63 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotRectHeader(), and KRFBDecoder::sendAllowedEncodings(). |
|
|
Definition at line 38 of file krfbdecoder.cpp. Referenced by KRFBDecoder::handleRawRect(). |
|
|
Definition at line 37 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotCopyRectPos(), KRFBDecoder::gotRawRectChunk(), and KRFBDecoder::gotUpdateHeader(). |
|
|
Definition at line 65 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotRectHeader(), and KRFBDecoder::sendAllowedEncodings(). |
|
|
Definition at line 58 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotUpdateHeader(). |
|
|
Definition at line 40 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotServerCut(). |
|
|
Definition at line 35 of file krfbdecoder.cpp. Referenced by KRFBDecoder::sendClientInit(). |
|
|
Definition at line 47 of file krfbdecoder.cpp. Referenced by KRFBDecoder::sendAllowedEncodings(). |
|
|
Definition at line 45 of file krfbdecoder.cpp. Referenced by KRFBDecoder::sendPixelFormat(). |
|
|
Definition at line 36 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotBell(), KRFBDecoder::gotServerCutText(), and KRFBDecoder::sendUpdateRequest(). |
|
|
Definition at line 56 of file krfbdecoder.cpp. Referenced by KRFBDecoder::gotUpdateHeader(). |
|
|
Definition at line 48 of file krfbdecoder.cpp. Referenced by KRFBDecoder::sendUpdateRequest(). |
1.4.2