inputPlugin.h

Go to the documentation of this file.
00001 #ifndef INPUTPLUGIN_H
00002 #define INPUTPLUGIN_H
00003 
00004 #include <QtCore/QtPlugin>
00005 
00006 namespace BALL
00007 {
00008   namespace VIEW
00009   {
00010     class InputDeviceDriver;
00011 
00012     class InputPlugin
00013     {
00014       public:
00015         virtual ~InputPlugin() {}
00016 
00021         virtual void setReceiver(QWidget* receiver) = 0;
00022 
00028         virtual InputDeviceDriver* startDriver() = 0;
00029     };
00030   }
00031 }
00032 
00033 Q_DECLARE_INTERFACE(BALL::VIEW::InputPlugin, "org.ball-project.Plugin.InputPlugin/1.0")
00034 
00035 #endif //INPUTPLUGIN_H
00036