summaryrefslogtreecommitdiffstats
path: root/common/rfb/CMsgHandler.h
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-06-16 10:50:06 +0000
committerAdam Tkac <atkac@redhat.com>2009-06-16 10:50:06 +0000
commitc184d95524a196c9a3c12859f36c6c3c4b968130 (patch)
treebadde17836a4032d8616d35ffff33e88d29c17b4 /common/rfb/CMsgHandler.h
parent141c17222e64b5e324be33443a6669e87bf87a72 (diff)
downloadtigervnc-c184d95524a196c9a3c12859f36c6c3c4b968130.tar.gz
tigervnc-c184d95524a196c9a3c12859f36c6c3c4b968130.zip
Declare virtual methods with empty body as pure virtual methods in rfb::CMsgHandler
class. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3842 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/rfb/CMsgHandler.h')
-rw-r--r--common/rfb/CMsgHandler.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/common/rfb/CMsgHandler.h b/common/rfb/CMsgHandler.h
index 79ee86c4..9205ef5a 100644
--- a/common/rfb/CMsgHandler.h
+++ b/common/rfb/CMsgHandler.h
@@ -49,24 +49,24 @@ namespace rfb {
int w, int h,
const ScreenSet& layout);
virtual void setCursor(int width, int height, const Point& hotspot,
- void* data, void* mask);
+ void* data, void* mask) = 0;
virtual void setPixelFormat(const PixelFormat& pf);
virtual void setName(const char* name);
- virtual void serverInit();
+ virtual void serverInit() = 0;
- virtual void framebufferUpdateStart();
- virtual void framebufferUpdateEnd();
- virtual void beginRect(const Rect& r, unsigned int encoding);
- virtual void endRect(const Rect& r, unsigned int encoding);
+ virtual void framebufferUpdateStart() = 0;
+ virtual void framebufferUpdateEnd() = 0;
+ virtual void beginRect(const Rect& r, unsigned int encoding) = 0;
+ virtual void endRect(const Rect& r, unsigned int encoding) = 0;
virtual void setColourMapEntries(int firstColour, int nColours,
- rdr::U16* rgbs);
- virtual void bell();
- virtual void serverCutText(const char* str, rdr::U32 len);
+ rdr::U16* rgbs) = 0;
+ virtual void bell() = 0;
+ virtual void serverCutText(const char* str, rdr::U32 len) = 0;
- virtual void fillRect(const Rect& r, Pixel pix);
- virtual void imageRect(const Rect& r, void* pixels);
- virtual void copyRect(const Rect& r, int srcX, int srcY);
+ virtual void fillRect(const Rect& r, Pixel pix) = 0;
+ virtual void imageRect(const Rect& r, void* pixels) = 0;
+ virtual void copyRect(const Rect& r, int srcX, int srcY) = 0;
ConnParams cp;
};