diff options
author | Dennis Syrovatsky <dennis@tightvnc.com> | 2005-11-21 14:40:56 +0000 |
---|---|---|
committer | Dennis Syrovatsky <dennis@tightvnc.com> | 2005-11-21 14:40:56 +0000 |
commit | 514555be0169e6491a14b92f6c08c889c52878eb (patch) | |
tree | 39892c6b6215a1581bec2c61b2996c0d24ae3eca /rfb | |
parent | a7fdeeb80be99f3c34fe977e848ed4b07db71206 (diff) | |
download | tigervnc-514555be0169e6491a14b92f6c08c889c52878eb.tar.gz tigervnc-514555be0169e6491a14b92f6c08c889c52878eb.zip |
Added methods for processing file transfer message FileListData.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@408 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rfb')
-rw-r--r-- | rfb/CMsgHandler.h | 2 | ||||
-rw-r--r-- | rfb/CMsgReaderV3.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/rfb/CMsgHandler.h b/rfb/CMsgHandler.h index 7a69f145..68e5e861 100644 --- a/rfb/CMsgHandler.h +++ b/rfb/CMsgHandler.h @@ -56,6 +56,8 @@ namespace rfb { virtual void imageRect(const Rect& r, void* pixels); virtual void copyRect(const Rect& r, int srcX, int srcY); + virtual bool processFTMsg(int type) = 0; + ConnParams cp; }; } diff --git a/rfb/CMsgReaderV3.cxx b/rfb/CMsgReaderV3.cxx index 59519813..b8242a02 100644 --- a/rfb/CMsgReaderV3.cxx +++ b/rfb/CMsgReaderV3.cxx @@ -58,6 +58,8 @@ void CMsgReaderV3::readMsg() case msgTypeSetColourMapEntries: readSetColourMapEntries(); break; case msgTypeBell: readBell(); break; case msgTypeServerCutText: readServerCutText(); break; + case msgTypeFileListData: + handler->processFTMsg(type); break; default: fprintf(stderr, "unknown message type %d\n", type); throw Exception("unknown message type"); |