Diffstat (limited to 'noncore/apps/opie-console/metafactory.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/metafactory.h b/noncore/apps/opie-console/metafactory.h index 3f7ddce..71c35a2 100644 --- a/noncore/apps/opie-console/metafactory.h +++ b/noncore/apps/opie-console/metafactory.h @@ -17,3 +17,5 @@ #include "profiledialogwidget.h" +#include "emulation_layer.h" +class Widget; class MetaFactory { @@ -23,2 +25,3 @@ public: typedef FileTransferLayer* (*filelayer)(IOLayer*); + typedef EmulationLayer* (*emulationLayer)(Widget* ); @@ -52,2 +55,9 @@ public: + /** + * adds a Factory for Emulation to the Layer.. + */ + void addEmulationLayer ( const QCString& name, + const QString& uiString, + emulationLayer ); + /* translated UI Strings */ @@ -55,4 +65,13 @@ public: QStringList connectionWidgets()const; + + /** + * Terminal Configuration widgets + */ QStringList terminalWidgets()const; QStringList fileTransferLayers()const; + QStringList emulationLayers()const; + + /** + * the generation... + */ IOLayer* newIOLayer( const QString&,const Profile& ); @@ -60,2 +79,3 @@ public: ProfileDialogWidget* newTerminalPlugin( const QString&, QWidget* ); + EmulationLayer* newEmulationLayer(const QString&, Widget* ); @@ -81,2 +101,3 @@ private: QMap<QString, filelayer> m_fileFact; + QMap<QString, emulationLayer> m_emu; }; |