Diffstat (limited to 'noncore/apps/opie-console/metafactory.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/noncore/apps/opie-console/metafactory.h b/noncore/apps/opie-console/metafactory.h index 9c0f0a1..aae9391 100644 --- a/noncore/apps/opie-console/metafactory.h +++ b/noncore/apps/opie-console/metafactory.h @@ -2,7 +2,8 @@ #define OPIE_META_FACTORY_H /** - * meta factory is our factory servie + * The MetaFactory is used to keep track of all IOLayers, FileTransferLayers and ConfigWidgets + * and to instantiate these implementations on demand */ #include <qwidget.h> @@ -19,6 +20,7 @@ public: typedef QWidget* (*configWidget)(QWidget* parent); typedef IOLayer* (*iolayer)(const Config& ); typedef FileTransferLayer* (*filelayer)(IOLayer*); + MetaFactory(); ~MetaFactory(); @@ -31,15 +33,10 @@ public: QStringList ioLayers()const; QStringList configWidgets()const; QStringList fileTransferLayers()const; - - private: QMap<QString, configWidget> m_confFact; QMap<QString, iolayer> m_layerFact; QMap<QString, filelayer> m_fileFact; - - - }; |