author | zecke <zecke> | 2004-05-12 19:08:58 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-05-12 19:08:58 (UTC) |
commit | 00efb6af5ff15e43913f91fcc5c33805233c7e91 (patch) (side-by-side diff) | |
tree | 9e661ed6a94e40e642a5d03f56e46125d0eaa852 | |
parent | 7a9cabb330284777113bb544139843dcf0593628 (diff) | |
download | opie-00efb6af5ff15e43913f91fcc5c33805233c7e91.zip opie-00efb6af5ff15e43913f91fcc5c33805233c7e91.tar.gz opie-00efb6af5ff15e43913f91fcc5c33805233c7e91.tar.bz2 |
As pointed out on irc the template functions fail to compile.
I've removed the method in the base class so remove in OPluginLoader as well
Evaluate if we want to allow loading of a 'path' + QUUid or only via
OPluginItem
-rw-r--r-- | libopie2/opiecore/opluginloader.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libopie2/opiecore/opluginloader.h b/libopie2/opiecore/opluginloader.h index 421d1f6..6166b75 100644 --- a/libopie2/opiecore/opluginloader.h +++ b/libopie2/opiecore/opluginloader.h @@ -131,18 +131,16 @@ private: * @since 1.2 */ class OPluginLoader : public OGenericPluginLoader { public: OPluginLoader( const QString& name, bool sorted = false ); ~OPluginLoader(); template<class IFace> - IFace* load( const QString& name, const QUuid& ); - template<class IFace> IFace* load( const OPluginItem& item, const QUuid& ); }; /** * \brief A class to manager order and activation of plugins * * Manage order and activation. This is used by the Opie::Ui::OPluginConfig * This class controls the activation and order of plugins depending @@ -165,20 +163,16 @@ public: void enable( const OPluginItem& ); void disable( const OPluginItem& ); void setEnabled( const OPluginItem&, bool = true); void load(); void save(); }; -template<class IFace> -IFace* OPluginLoader::load( const QString& name, const QUuid& uid ) { - return static_cast<IFace*>( OGenericPluginLoader::load( item, uid ) ); -} template<class IFace> IFace* OPluginLoader::load( const OPluginItem& item, const QUuid& uid ) { return static_cast<IFace*>( OGenericPluginLoader::load( item, uid ) ); } } } |