Diffstat (limited to 'noncore/apps/opie-console/metafactory.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/metafactory.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/metafactory.cpp b/noncore/apps/opie-console/metafactory.cpp index 2b672cf..901f29f 100644 --- a/noncore/apps/opie-console/metafactory.cpp +++ b/noncore/apps/opie-console/metafactory.cpp | |||
@@ -128,2 +128,11 @@ EmulationLayer* MetaFactory::newEmulationLayer( const QString& str, WidgetLayer* | |||
128 | } | 128 | } |
129 | FileTransferLayer* MetaFactory::newFileTransfer(const QString& str, IOLayer* lay ) { | ||
130 | FileTransferLayer* file = 0l; | ||
131 | QMap<QString, filelayer>::Iterator it; | ||
132 | it = m_fileFact.find( str ); | ||
133 | if ( it != m_fileFact.end() ) { | ||
134 | file = (*(it.data() ) )(lay); | ||
135 | } | ||
136 | return file; | ||
137 | } | ||
129 | QCString MetaFactory::internal( const QString& str )const { | 138 | QCString MetaFactory::internal( const QString& str )const { |