* Add PLASMA_EXPORT macros to the five methods in the Plasma:: namespace so that they

can be used outside the plasma lib.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=807212
This commit is contained in:
Richard Dale 2008-05-13 09:39:19 +00:00
parent a709955f14
commit 691262431c

View File

@ -94,7 +94,7 @@ private:
* language support for * language support for
* @return a list of all supported languages for the given type(s). * @return a list of all supported languages for the given type(s).
**/ **/
QStringList knownLanguages(ComponentTypes types); PLASMA_EXPORT QStringList knownLanguages(ComponentTypes types);
/** /**
* Loads an Applet script engine for the given language. * Loads an Applet script engine for the given language.
@ -104,7 +104,7 @@ QStringList knownLanguages(ComponentTypes types);
* @return pointer to the AppletScript or 0 on failure; the caller is responsible * @return pointer to the AppletScript or 0 on failure; the caller is responsible
* for the return object which will be parented to the Applet * for the return object which will be parented to the Applet
**/ **/
AppletScript* loadScriptEngine(const QString &language, Applet *applet); PLASMA_EXPORT AppletScript* loadScriptEngine(const QString &language, Applet *applet);
/** /**
* Loads an DataEngine script engine for the given language. * Loads an DataEngine script engine for the given language.
@ -114,7 +114,7 @@ AppletScript* loadScriptEngine(const QString &language, Applet *applet);
* @return pointer to the DataEngineScript or 0 on failure; the caller is responsible * @return pointer to the DataEngineScript or 0 on failure; the caller is responsible
* for the return object which will be parented to the DataEngine * for the return object which will be parented to the DataEngine
**/ **/
DataEngineScript* loadScriptEngine(const QString &language, DataEngine *dataEngine); PLASMA_EXPORT DataEngineScript* loadScriptEngine(const QString &language, DataEngine *dataEngine);
/** /**
* Loads an Applet script engine for the given language. * Loads an Applet script engine for the given language.
@ -124,7 +124,7 @@ DataEngineScript* loadScriptEngine(const QString &language, DataEngine *dataEngi
* @return pointer to the RunnerScript or 0 on failure; the caller is responsible * @return pointer to the RunnerScript or 0 on failure; the caller is responsible
* for the return object which will be parented to the AbstractRunner * for the return object which will be parented to the AbstractRunner
**/ **/
RunnerScript* loadScriptEngine(const QString &language, AbstractRunner *runner); PLASMA_EXPORT RunnerScript* loadScriptEngine(const QString &language, AbstractRunner *runner);
/** /**
* Loads an appropriate PackageStructure for the given language and type * Loads an appropriate PackageStructure for the given language and type
@ -133,7 +133,7 @@ RunnerScript* loadScriptEngine(const QString &language, AbstractRunner *runner);
* @param type the component type * @param type the component type
* @return a guarded PackageStructure pointer * @return a guarded PackageStructure pointer
*/ */
PackageStructure::Ptr packageStructure(const QString &language, ComponentType type); PLASMA_EXPORT PackageStructure::Ptr packageStructure(const QString &language, ComponentType type);
} // namespace Plasma } // namespace Plasma