author | wazlaf <wazlaf> | 2002-09-28 15:21:53 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-09-28 15:21:53 (UTC) |
commit | 18d575d0ee47a0700091de81bc3e8c54be4eae18 (patch) (unidiff) | |
tree | a4a890a3d9e823ed75ba0b5a51a67b6e47a57ab9 /noncore/apps/opie-console/metafactory.h | |
parent | ea1975bdf411de3e08e7b84d2480a522596fe143 (diff) | |
download | opie-18d575d0ee47a0700091de81bc3e8c54be4eae18.zip opie-18d575d0ee47a0700091de81bc3e8c54be4eae18.tar.gz opie-18d575d0ee47a0700091de81bc3e8c54be4eae18.tar.bz2 |
indenting, comments
Diffstat (limited to 'noncore/apps/opie-console/metafactory.h') (more/less context) (show 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 @@ | |||
2 | #define OPIE_META_FACTORY_H | 2 | #define OPIE_META_FACTORY_H |
3 | 3 | ||
4 | /** | 4 | /** |
5 | * meta factory is our factory servie | 5 | * The MetaFactory is used to keep track of all IOLayers, FileTransferLayers and ConfigWidgets |
6 | * and to instantiate these implementations on demand | ||
6 | */ | 7 | */ |
7 | 8 | ||
8 | #include <qwidget.h> | 9 | #include <qwidget.h> |
@@ -19,6 +20,7 @@ public: | |||
19 | typedef QWidget* (*configWidget)(QWidget* parent); | 20 | typedef QWidget* (*configWidget)(QWidget* parent); |
20 | typedef IOLayer* (*iolayer)(const Config& ); | 21 | typedef IOLayer* (*iolayer)(const Config& ); |
21 | typedef FileTransferLayer* (*filelayer)(IOLayer*); | 22 | typedef FileTransferLayer* (*filelayer)(IOLayer*); |
23 | |||
22 | MetaFactory(); | 24 | MetaFactory(); |
23 | ~MetaFactory(); | 25 | ~MetaFactory(); |
24 | 26 | ||
@@ -31,15 +33,10 @@ public: | |||
31 | QStringList ioLayers()const; | 33 | QStringList ioLayers()const; |
32 | QStringList configWidgets()const; | 34 | QStringList configWidgets()const; |
33 | QStringList fileTransferLayers()const; | 35 | QStringList fileTransferLayers()const; |
34 | |||
35 | |||
36 | private: | 36 | private: |
37 | QMap<QString, configWidget> m_confFact; | 37 | QMap<QString, configWidget> m_confFact; |
38 | QMap<QString, iolayer> m_layerFact; | 38 | QMap<QString, iolayer> m_layerFact; |
39 | QMap<QString, filelayer> m_fileFact; | 39 | QMap<QString, filelayer> m_fileFact; |
40 | |||
41 | |||
42 | |||
43 | }; | 40 | }; |
44 | 41 | ||
45 | 42 | ||