author | josef <josef> | 2002-10-06 18:34:28 (UTC) |
---|---|---|
committer | josef <josef> | 2002-10-06 18:34:28 (UTC) |
commit | aa8332baeebf7056d81fc245399477c7feaa1235 (patch) (unidiff) | |
tree | 4b23429bcad955d02df24b40144cf5b7b6ffe0f3 /noncore/apps/opie-console/metafactory.h | |
parent | 6da8cac26f1d610d458c91bc2daad018cf9cf887 (diff) | |
download | opie-aa8332baeebf7056d81fc245399477c7feaa1235.zip opie-aa8332baeebf7056d81fc245399477c7feaa1235.tar.gz opie-aa8332baeebf7056d81fc245399477c7feaa1235.tar.bz2 |
- more factorization (is nearly complete now ;)
- move config plugins into separate file (3 classes and virtual superclass)
- first stub for save function
Diffstat (limited to 'noncore/apps/opie-console/metafactory.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/metafactory.h b/noncore/apps/opie-console/metafactory.h index 2245231..8c714b3 100644 --- a/noncore/apps/opie-console/metafactory.h +++ b/noncore/apps/opie-console/metafactory.h | |||
@@ -16,2 +16,3 @@ | |||
16 | #include "profile.h" | 16 | #include "profile.h" |
17 | #include "profileeditorplugins.h" | ||
17 | 18 | ||
@@ -19,3 +20,3 @@ class MetaFactory { | |||
19 | public: | 20 | public: |
20 | typedef QWidget* (*configWidget)(QWidget* parent); | 21 | typedef ProfileEditorPlugin* (*configWidget)(QWidget* parent, const Profile&); |
21 | typedef IOLayer* (*iolayer)(const Profile& ); | 22 | typedef IOLayer* (*iolayer)(const Profile& ); |
@@ -37,3 +38,3 @@ public: | |||
37 | IOLayer* newIOLayer( const QString&,const Profile& ); | 38 | IOLayer* newIOLayer( const QString&,const Profile& ); |
38 | QWidget *newConfigWidget ( const QString&, QWidget* ); | 39 | ProfileEditorPlugin *newConfigPlugin ( const QString&, QWidget*, const Profile& ); |
39 | 40 | ||