blob: 68d7b74b33bb147231e037975fab05e0bf3ab752 [file] [log] [blame]
Constantin Kaplinskyde179d42006-04-16 06:53:44 +00001/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved.
2 *
Constantin Kaplinsky47ed8d32004-10-08 09:43:57 +00003 * 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// -=- ServerCore.h
20
21// This header will define the Server interface, from which ServerMT and
22// ServerST will be derived.
23
24#ifndef __RFB_SERVER_CORE_H__
25#define __RFB_SERVER_CORE_H__
26
27#include <rfb/Configuration.h>
28#include <rfb/util.h>
29
30namespace rfb {
31
32 class Server {
33 public:
34
35 static IntParameter idleTimeout;
Peter Åstrand43aa1a12005-02-21 09:58:31 +000036 static IntParameter maxDisconnectionTime;
37 static IntParameter maxConnectionTime;
38 static IntParameter maxIdleTime;
Constantin Kaplinsky47ed8d32004-10-08 09:43:57 +000039 static IntParameter clientWaitTimeMillis;
Constantin Kaplinsky47ed8d32004-10-08 09:43:57 +000040 static BoolParameter compareFB;
41 static BoolParameter protocol3_3;
42 static BoolParameter alwaysShared;
43 static BoolParameter neverShared;
44 static BoolParameter disconnectClients;
45 static BoolParameter acceptKeyEvents;
46 static BoolParameter acceptPointerEvents;
47 static BoolParameter acceptCutText;
48 static BoolParameter sendCutText;
49 static BoolParameter queryConnect;
Constantin Kaplinsky47ed8d32004-10-08 09:43:57 +000050
51 };
52
53};
54
55#endif // __RFB_SERVER_CORE_H__
56