From bc88219d0a9cf935d90c88fe75e238e86c675937 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 28 Sep 2002 18:29:02 +0000 Subject: io_layer take Profile instead of Config Profile added including some Config like stuff io_serial getBaud -> baud a default for gcc3 later tabdwidget will be our central widget profileconfig I needed groups() and clearAll that's pretty much it --- (limited to 'noncore/apps/opie-console/metafactory.h') diff --git a/noncore/apps/opie-console/metafactory.h b/noncore/apps/opie-console/metafactory.h index aae9391..bdd2ad2 100644 --- a/noncore/apps/opie-console/metafactory.h +++ b/noncore/apps/opie-console/metafactory.h @@ -13,14 +13,14 @@ #include "io_layer.h" #include "file_layer.h" - +#include "profile.h" class MetaFactory { public: typedef QWidget* (*configWidget)(QWidget* parent); - typedef IOLayer* (*iolayer)(const Config& ); + typedef IOLayer* (*iolayer)(const Profile& ); typedef FileTransferLayer* (*filelayer)(IOLayer*); - + MetaFactory(); ~MetaFactory(); @@ -33,6 +33,8 @@ public: QStringList ioLayers()const; QStringList configWidgets()const; QStringList fileTransferLayers()const; + IOLayer* newIOLayer( const QString&,const Profile& ); + private: QMap m_confFact; QMap m_layerFact; -- cgit v0.9.0.2