Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ExtensionFactory.h

Go to the documentation of this file.
00001 #ifndef _EXTENSION_FACTORY_H_
00002 #define _EXTENSION_FACTORY_H_
00003 
00004 #include "ExtensionInterface.h"
00005 #include "TaskSwitcher.h"
00006 #include "KeyLauncher.h"
00007 #include "TaskSelector.h"
00008 #include "MenuLauncher.h"
00009 
00010 class ExtensionFactory
00011 {
00012 public:
00013         ExtensionFactory();
00014         virtual ~ExtensionFactory();
00015 
00016         ExtensionInterface* createInstance(const QString& kind);
00017         ExtensionInterface* createInstance(const QString& kind,
00018                 int keycode, int keymask);
00019         ExtensionList& getList()
00020         {
00021                 return(m_oExtList);
00022         }
00023         void clear();
00024         void reset();
00025         void sweep();
00026 private:
00027         ExtensionList m_oExtList;
00028         ExtensionList* m_pLoadList;
00029 
00030         ExtensionInterface* loadInstance(const QString& kind,
00031                 int keycode, int keymask);
00032 };
00033 
00034 #endif /* _EXTENSION_FACTORY_H_ */
00035 

Generated on Sat Nov 5 16:16:42 2005 for OPIE by  doxygen 1.4.2