1 #ifndef BALL_PLUGIN_PLUGINHANDLER_H
2 #define BALL_PLUGIN_PLUGINHANDLER_H
5 #ifndef BALL_COMMON_GLOBAL_H
10 #include <QtCore/QReadWriteLock>
43 virtual bool canHandle(
BALLPlugin* plugin)
const = 0;
72 virtual bool isRunning(
BALLPlugin* plugin)
const;
84 virtual bool specificSetup_(
BALLPlugin* plugin) = 0;
95 virtual bool specificShutdown_(
BALLPlugin* plugin) = 0;
103 mutable QReadWriteLock mutex_;
107 #endif //BALL_PLUGIN_PLUGINHANDLER_H
std::list< BALLPlugin * > running_plugins_