summaryrefslogtreecommitdiffstats
path: root/client/inputs_handler.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-11-21 11:01:17 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-12-03 11:31:17 +0100
commit1876971442ef808b5dcdaa5dc12df617f2179cb5 (patch)
tree54cdeb35593396e8319ae079f900a18808fb201a /client/inputs_handler.h
parentb532ef0866cefe260ad0f08550f7c40d3580d0d7 (diff)
downloadspice-1876971442ef808b5dcdaa5dc12df617f2179cb5.tar.gz
spice-1876971442ef808b5dcdaa5dc12df617f2179cb5.tar.xz
spice-1876971442ef808b5dcdaa5dc12df617f2179cb5.zip
client: Remove client code
The client has been superseded by virt-viewer ( http://virt-manager.org/download/sources/virt-viewer/ ) and is no longer being maintained.
Diffstat (limited to 'client/inputs_handler.h')
-rw-r--r--client/inputs_handler.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/client/inputs_handler.h b/client/inputs_handler.h
deleted file mode 100644
index 060a4adc..00000000
--- a/client/inputs_handler.h
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- Copyright (C) 2009 Red Hat, Inc.
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this library; if not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef _H_INPUTS_HANDLER
-#define _H_INPUTS_HANDLER
-
-#include "red_key.h"
-
-class KeyHandler {
-public:
- virtual ~KeyHandler() {}
- virtual void on_key_down(RedKey key) {}
- virtual void on_key_up(RedKey key) {}
- virtual void on_char(uint32_t ch) {}
- virtual void on_focus_in() {}
- virtual void on_focus_out() {}
- virtual bool permit_focus_loss() { return true;}
-};
-
-class MouseHandler {
-public:
- virtual ~MouseHandler() {}
- virtual void on_mouse_motion(int dx, int dy, int buttons_state) {}
- virtual void on_mouse_down(int button, int buttons_state) {}
- virtual void on_mouse_up(int button, int buttons_state) {}
-};
-
-#endif