blob: 805fd876892037ae45c68811794c810589e8ba0a [file] [log] [blame]
Constantin Kaplinskya2adc8d2006-05-25 05:01:55 +00001/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
Pierre Ossmanc754cce2011-11-14 15:44:11 +00002 * Copyright 2009-2011 Pierre Ossman for Cendio AB
Constantin Kaplinskya2adc8d2006-05-25 05:01:55 +00003 *
4 * This is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This software is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this software; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
17 * USA.
18 */
19#ifndef __RFB_SMSGREADERV3_H__
20#define __RFB_SMSGREADERV3_H__
21
22#include <rfb/SMsgReader.h>
23
24namespace rfb {
25 class SMsgReaderV3 : public SMsgReader {
26 public:
27 SMsgReaderV3(SMsgHandler* handler, rdr::InStream* is);
28 virtual ~SMsgReaderV3();
29 virtual void readClientInit();
30 virtual void readMsg();
Pierre Ossmanc5e25602009-03-20 12:59:05 +000031 protected:
32 virtual void readSetDesktopSize();
Pierre Ossmanc754cce2011-11-14 15:44:11 +000033 virtual void readFence();
Pierre Ossmanc898d9a2011-11-14 16:22:23 +000034 virtual void readEnableContinuousUpdates();
Constantin Kaplinskya2adc8d2006-05-25 05:01:55 +000035 };
36}
37#endif