Diffstat (limited to 'noncore/apps/opie-console/metafactory.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/metafactory.h b/noncore/apps/opie-console/metafactory.h index 7f0699b..d6aa5e2 100644 --- a/noncore/apps/opie-console/metafactory.h +++ b/noncore/apps/opie-console/metafactory.h | |||
@@ -13,6 +13,7 @@ | |||
13 | 13 | ||
14 | #include "io_layer.h" | 14 | #include "io_layer.h" |
15 | #include "file_layer.h" | 15 | #include "file_layer.h" |
16 | #include "receive_layer.h" | ||
16 | #include "profile.h" | 17 | #include "profile.h" |
17 | #include "profiledialogwidget.h" | 18 | #include "profiledialogwidget.h" |
18 | #include "emulation_layer.h" | 19 | #include "emulation_layer.h" |
@@ -23,6 +24,7 @@ public: | |||
23 | typedef ProfileDialogWidget* (*configWidget)(const QString&, QWidget* parent); | 24 | typedef ProfileDialogWidget* (*configWidget)(const QString&, QWidget* parent); |
24 | typedef IOLayer* (*iolayer)(const Profile& ); | 25 | typedef IOLayer* (*iolayer)(const Profile& ); |
25 | typedef FileTransferLayer* (*filelayer)(IOLayer*); | 26 | typedef FileTransferLayer* (*filelayer)(IOLayer*); |
27 | typedef ReceiveLayer* (*receivelayer)(IOLayer*); | ||
26 | typedef EmulationLayer* (*emulationLayer)(WidgetLayer* ); | 28 | typedef EmulationLayer* (*emulationLayer)(WidgetLayer* ); |
27 | 29 | ||
28 | MetaFactory(); | 30 | MetaFactory(); |
@@ -52,6 +54,9 @@ public: | |||
52 | void addFileTransferLayer( const QCString& name, | 54 | void addFileTransferLayer( const QCString& name, |
53 | const QString&, | 55 | const QString&, |
54 | filelayer ); | 56 | filelayer ); |
57 | void addReceiveLayer( const QCString& name, | ||
58 | const QString&, | ||
59 | receivelayer); | ||
55 | 60 | ||
56 | /** | 61 | /** |
57 | * adds a Factory for Emulation to the Layer.. | 62 | * adds a Factory for Emulation to the Layer.. |
@@ -69,6 +74,7 @@ public: | |||
69 | */ | 74 | */ |
70 | QStringList terminalWidgets()const; | 75 | QStringList terminalWidgets()const; |
71 | QStringList fileTransferLayers()const; | 76 | QStringList fileTransferLayers()const; |
77 | QStringList receiveLayers()const; | ||
72 | QStringList emulationLayers()const; | 78 | QStringList emulationLayers()const; |
73 | 79 | ||
74 | /** | 80 | /** |
@@ -79,6 +85,7 @@ public: | |||
79 | ProfileDialogWidget* newTerminalPlugin( const QString&, QWidget* ); | 85 | ProfileDialogWidget* newTerminalPlugin( const QString&, QWidget* ); |
80 | EmulationLayer* newEmulationLayer(const QString&, WidgetLayer* ); | 86 | EmulationLayer* newEmulationLayer(const QString&, WidgetLayer* ); |
81 | FileTransferLayer* newFileTransfer(const QString&, IOLayer* ); | 87 | FileTransferLayer* newFileTransfer(const QString&, IOLayer* ); |
88 | ReceiveLayer* newReceive(const QString&, IOLayer* ); | ||
82 | 89 | ||
83 | /* | 90 | /* |
84 | * internal takes the maybe translated | 91 | * internal takes the maybe translated |
@@ -100,6 +107,7 @@ private: | |||
100 | QMap<QString, configWidget> m_termFact; | 107 | QMap<QString, configWidget> m_termFact; |
101 | QMap<QString, iolayer> m_layerFact; | 108 | QMap<QString, iolayer> m_layerFact; |
102 | QMap<QString, filelayer> m_fileFact; | 109 | QMap<QString, filelayer> m_fileFact; |
110 | QMap<QString, receivelayer> m_receiveFact; | ||
103 | QMap<QString, emulationLayer> m_emu; | 111 | QMap<QString, emulationLayer> m_emu; |
104 | }; | 112 | }; |
105 | 113 | ||