xref: /haiku/src/add-ons/input_server/devices/virtualkeyboard/VirtualKeyboardInputDevice.h (revision a9fd76aefcc11c3f535b28a13f1494fa7086b9fd)
1 /*
2  * Copyright 2014 Freeman Lou <freemanlou2430@yahoo.com>
3  * All rights reserved. Distributed under the terms of the MIT license.
4  */
5 #ifndef VKID_H
6 #define VKID_H
7 
8 #include <InputServerDevice.h>
9 
10 #include "VirtualKeyboardWindow.h"
11 
12 
13 class VirtualKeyboardInputDevice : public BInputServerDevice {
14 public:
15 										VirtualKeyboardInputDevice();
16 										~VirtualKeyboardInputDevice();
17 	virtual status_t					InitCheck();
18 	virtual	status_t					Start(const char* name, void* cookie);
19 	virtual	status_t					Stop(const char* name, void* cookie);
20 
21 private:
22 			VirtualKeyboardWindow*		fKeyboardWindow;
23 
24 };
25 
26 extern "C" BInputServerDevice* instantiate_input_device();
27 
28 #endif // VKID_H
29