Make plasma libs build.
[amarok.git] / src / context / DataEngine.h
bloba82626e049b4893c99aa862dd88aeec3fc293135
1 /***************************************************************************
2 * copyright : (C) 2007 Leo Franchi <lfranchi@gmail.com> *
3 **************************************************************************/
5 /***************************************************************************
6 * *
7 * This program is free software; you can redistribute it and/or modify *
8 * it under the terms of the GNU General Public License as published by *
9 * the Free Software Foundation; either version 2 of the License, or *
10 * (at your option) any later version. *
11 * *
12 ***************************************************************************/
14 #ifndef AMAROK_DATA_ENGINE_H
15 #define AMAROK_DATA_ENGINE_H
17 #include <plasma/dataengine.h>
19 namespace Context
21 typedef Plasma::DataEngine DataEngine;
23 } // context namespace
25 /*#define K_EXPORT_AMAROK_DATAENGINE(libname, classname) \
26 K_EXPORT_COMPONENT_FACTORY( \
27 amarok_data_engine_##libname, \
28 KGenericFactory<classname>("amarok_data_engine_" #libname))
31 #define K_EXPORT_AMAROK_DATAENGINE(libname, classname) \
32 K_PLUGIN_FACTORY(factory, registerPlugin<classname>();) \
33 K_EXPORT_PLUGIN(factory("amarok_data_engine_" #libname))
34 #endif