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:
Jérôme Duval
2004-08-26 16:11:24 +00:00
parent daef2e88ec
commit 6e6fa57fb5
6 changed files with 174 additions and 6 deletions
+5
View File
@@ -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);