00001 /*========================================================================= 00002 00003 Program: BlueBerry Platform 00004 Language: C++ 00005 Date: $Date: 2010-01-16 19:57:43 +0100 (Sat, 16 Jan 2010) $ 00006 Version: $Revision: 21070 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef MITKIINPUTDEVICEREGISTRY_H_ 00019 #define MITKIINPUTDEVICEREGISTRY_H_ 00020 00021 #include "mitkCoreExtDll.h" 00022 00023 #include <berryService.h> 00024 00025 #include <vector> 00026 #include <string> 00027 00028 #include "mitkIInputDeviceDescriptor.h" 00029 00030 namespace mitk 00031 { 00047 struct MITKCOREEXT_EXPORT IInputDeviceRegistry: public berry::Service 00048 { 00049 berryInterfaceMacro(IInputDeviceRegistry, mitk) 00050 00051 00059 virtual IInputDeviceDescriptor::Pointer Find(const std::string& id) const = 0; 00060 00066 virtual std::vector<IInputDeviceDescriptor::Pointer> GetInputDevices() const = 0; 00067 00068 virtual ~IInputDeviceRegistry() {} 00069 00070 }; // end struct IInputDeviceRegistry 00071 } // end namespace mitk 00072 00073 #endif /*MITKIINPUTDEVICEREGISTRY_H_*/