Commit 722939b75fc78fff538f8aa324860746b4c4b79e

export functions
TODO: replace PluginManager
src/PluginManager.h
(4 / 2)
  
2222
2323#include <vector>
2424
25#include "amarok_export.h"
26
2527namespace Amarok { class Plugin; }
2628class KLibrary;
2729
5656 * @return A list of services that satisfy the query
5757 * @see http://developer.kde.org/documentation/library/kdeqt/tradersyntax.html
5858 */
59 static KService::List query( const QString& constraint = QString() );
59 AMAROK_EXPORT static KService::List query( const QString& constraint = QString() );
6060
6161 /**
6262 * Load and instantiate plugin from query
7272 * @param service Pointer to KService
7373 * @return Pointer to Plugin, or NULL if error
7474 */
75 static Amarok::Plugin* createFromService( const KService::Ptr service );
75 AMAROK_EXPORT static Amarok::Plugin* createFromService( const KService::Ptr service );
7676
7777 /**
7878 * Remove library and delete plugin

Comments

Add a new comment:

Login or create an account to post a comment

Add your comment