-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 @@ -133,14 +133,12 @@ private: 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 * @@ -167,16 +165,12 @@ public: 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 ) ); } |