blob: bbc11763298656eaad3db07f18adc35e542b9135 [file] [log] [blame]
Constantin Kaplinskya2adc8d2006-05-25 05:01:55 +00001/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
2 *
3 * This is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation; either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This software is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this software; if not, write to the Free Software
15 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
16 * USA.
17 */
18#include <rfb/Exception.h>
19#include <rfb/CMsgHandler.h>
20
21using namespace rfb;
22
23CMsgHandler::CMsgHandler()
24{
25}
26
27CMsgHandler::~CMsgHandler()
28{
29}
30
31void CMsgHandler::setDesktopSize(int width, int height)
32{
33 cp.width = width;
34 cp.height = height;
35}
36
37void CMsgHandler::setCursor(int w, int h, const Point& hotspot, void* data, void* mask)
38{
39}
40
41void CMsgHandler::setPixelFormat(const PixelFormat& pf)
42{
43 cp.setPF(pf);
44}
45
46void CMsgHandler::setName(const char* name)
47{
48 cp.setName(name);
49}
50
51void CMsgHandler::serverInit()
52{
53 throw Exception("CMsgHandler::serverInit called");
54}
55
56void CMsgHandler::framebufferUpdateStart()
57{
58}
59
60void CMsgHandler::framebufferUpdateEnd()
61{
62}
63
64void CMsgHandler::beginRect(const Rect& r, unsigned int encoding)
65{
66}
67
68void CMsgHandler::endRect(const Rect& r, unsigned int encoding)
69{
70}
71
72
73void CMsgHandler::setColourMapEntries(int firstColour, int nColours,
74 rdr::U16* rgbs)
75{
76 throw Exception("CMsgHandler::setColourMapEntries called");
77}
78
79void CMsgHandler::bell()
80{
81}
82
83void CMsgHandler::serverCutText(const char* str, int len)
84{
85}
86
87void CMsgHandler::fillRect(const Rect& r, Pixel pix)
88{
89}
90
91void CMsgHandler::imageRect(const Rect& r, void* pixels)
92{
93}
94
95void CMsgHandler::copyRect(const Rect& r, int srcX, int srcY)
96{
97}
98
99bool CMsgHandler::processFTMsg(int type)
100{
101 return false;
102}
103