blob: 5fea75cca04061470940e729e083e2ab189bd90d [file] [log] [blame]
Constantin Kaplinsky0a1eca12006-04-16 07:28:14 +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
19// -=- SDisplayCoreDriver.h
20//
21// Placeholder for SDisplayCore mirror-driver implementation.
22
23#ifndef __RFB_SDISPLAY_CORE_DRIVER_H__
24#define __RFB_SDISPLAY_CORE_DRIVER_H__
25
26#include <rfb_win32/SDisplay.h>
27
28namespace rfb {
29 namespace win32 {
30
31 class SDisplayCoreDriver: public SDisplayCore {
32 public:
33 SDisplayCoreDriver(SDisplay* display, UpdateTracker* ut) {
34 throw rdr::Exception("Not supported");
35 }
36
37 // - Called by SDisplay to inform Core of the screen size
38 virtual void setScreenRect(const Rect& screenRect_) {}
39
40 // - Called by SDisplay to flush updates to the specified tracker
41 virtual void flushUpdates() {}
42
43 virtual const char* methodName() const { return "VNC Mirror Driver"; }
44
45 // - Determine whether the display driver is installed & usable
46 static bool isAvailable() { return false; }
47 };
48
49 };
50};
51
52#endif