Added a device manager for devices monitoring
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8666 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -73,6 +73,8 @@ BLocker InputServer::gInputFilterListLocker;
|
||||
BList InputServer::gInputMethodList;
|
||||
BLocker InputServer::gInputMethodListLocker;
|
||||
|
||||
DeviceManager InputServer::gDeviceManager;
|
||||
|
||||
/*BList InputServer::mInputServerDeviceList;
|
||||
BList InputServer::mInputServerFilterList;
|
||||
BList InputServer::mInputServerMethodList;*/
|
||||
@@ -103,6 +105,8 @@ InputServer::InputServer(void) : BApplication("application/x-vnd.OBOS-input_serv
|
||||
EventLoop(pointer);
|
||||
|
||||
// InitTestDevice();
|
||||
|
||||
gDeviceManager.LoadState();
|
||||
|
||||
fAddOnManager = new AddOnManager();
|
||||
fAddOnManager->LoadState();
|
||||
@@ -484,6 +488,7 @@ InputServer::QuitRequested(void)
|
||||
{
|
||||
CALLED();
|
||||
fAddOnManager->SaveState();
|
||||
gDeviceManager.SaveState();
|
||||
|
||||
kill_thread(ISPortThread);
|
||||
delete_port(EventLooperPort);
|
||||
|
||||
Reference in New Issue
Block a user