2008-11-04 00:08:39 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2006-2007 Aaron Seigo <aseigo@kde.org>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Library General Public License as
|
|
|
|
* published by the Free Software Foundation; either version 2, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this program; if not, write to the
|
|
|
|
* Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "abstractrunner.h"
|
|
|
|
|
|
|
|
#include <QAction>
|
|
|
|
#include <QHash>
|
2009-07-25 06:42:52 +02:00
|
|
|
#include <QMenu>
|
2010-02-21 18:06:10 +01:00
|
|
|
#include <QMimeData>
|
2008-11-04 00:08:39 +01:00
|
|
|
#include <QMutex>
|
|
|
|
#include <QMutexLocker>
|
|
|
|
#include <QTimer>
|
|
|
|
|
2008-11-04 03:04:34 +01:00
|
|
|
#include <kdebug.h>
|
2009-03-25 02:08:08 +01:00
|
|
|
#include <kicon.h>
|
2008-11-04 03:04:34 +01:00
|
|
|
#include <kplugininfo.h>
|
|
|
|
#include <kservicetypetrader.h>
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
#include <plasma/package.h>
|
2009-09-04 10:58:34 +02:00
|
|
|
#include <plasma/querymatch.h>
|
2008-11-04 00:08:39 +01:00
|
|
|
|
2009-11-11 01:25:27 +01:00
|
|
|
#include "private/abstractrunner_p.h"
|
2008-11-04 00:08:39 +01:00
|
|
|
#include "runnercontext.h"
|
2009-11-11 01:25:27 +01:00
|
|
|
#include "scripting/runnerscript.h"
|
2008-11-04 00:08:39 +01:00
|
|
|
|
|
|
|
namespace Plasma
|
|
|
|
{
|
|
|
|
|
|
|
|
K_GLOBAL_STATIC(QMutex, s_bigLock)
|
|
|
|
|
2010-03-23 23:43:34 +01:00
|
|
|
AbstractRunner::AbstractRunner(QObject *parent, const QString &path)
|
2008-11-04 00:08:39 +01:00
|
|
|
: QObject(parent),
|
2010-03-23 23:43:34 +01:00
|
|
|
d(new AbstractRunnerPrivate(this))
|
2008-11-04 00:08:39 +01:00
|
|
|
{
|
2010-03-23 23:43:34 +01:00
|
|
|
d->init(path);
|
|
|
|
}
|
|
|
|
|
|
|
|
AbstractRunner::AbstractRunner(const KService::Ptr service, QObject *parent)
|
|
|
|
: QObject(parent),
|
|
|
|
d(new AbstractRunnerPrivate(this))
|
|
|
|
{
|
|
|
|
d->init(service);
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
AbstractRunner::AbstractRunner(QObject *parent, const QVariantList &args)
|
|
|
|
: QObject(parent),
|
2010-03-23 23:43:34 +01:00
|
|
|
d(new AbstractRunnerPrivate(this))
|
2008-11-04 00:08:39 +01:00
|
|
|
{
|
2010-03-23 23:43:34 +01:00
|
|
|
if (args.count() > 0) {
|
|
|
|
KService::Ptr service = KService::serviceByStorageId(args[0].toString());
|
|
|
|
if (service) {
|
|
|
|
d->init(service);
|
|
|
|
}
|
|
|
|
}
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
AbstractRunner::~AbstractRunner()
|
|
|
|
{
|
|
|
|
delete d;
|
|
|
|
}
|
|
|
|
|
|
|
|
KConfigGroup AbstractRunner::config() const
|
|
|
|
{
|
|
|
|
QString group = objectName();
|
|
|
|
if (group.isEmpty()) {
|
|
|
|
group = "UnnamedRunner";
|
|
|
|
}
|
|
|
|
|
|
|
|
KConfigGroup runners(KGlobal::config(), "Runners");
|
|
|
|
return KConfigGroup(&runners, group);
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::reloadConfiguration()
|
|
|
|
{
|
2009-11-06 07:33:24 +01:00
|
|
|
if (d->script) {
|
|
|
|
emit d->script->reloadConfiguration();
|
|
|
|
}
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
2009-03-25 02:08:08 +01:00
|
|
|
void AbstractRunner::addSyntax(const RunnerSyntax &syntax)
|
|
|
|
{
|
|
|
|
d->syntaxes.append(syntax);
|
|
|
|
}
|
|
|
|
|
2009-11-25 10:37:47 +01:00
|
|
|
void AbstractRunner::setDefaultSyntax(const RunnerSyntax &syntax)
|
|
|
|
{
|
|
|
|
d->syntaxes.append(syntax);
|
|
|
|
d->defaultSyntax = &(d->syntaxes.last());
|
|
|
|
}
|
|
|
|
|
2009-03-25 19:33:41 +01:00
|
|
|
void AbstractRunner::setSyntaxes(const QList<RunnerSyntax> &syntaxes)
|
2009-03-25 02:08:08 +01:00
|
|
|
{
|
2009-03-25 18:41:15 +01:00
|
|
|
d->syntaxes = syntaxes;
|
2009-03-25 02:08:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
QList<RunnerSyntax> AbstractRunner::syntaxes() const
|
|
|
|
{
|
|
|
|
return d->syntaxes;
|
|
|
|
}
|
|
|
|
|
2009-11-25 10:37:47 +01:00
|
|
|
RunnerSyntax *AbstractRunner::defaultSyntax() const
|
|
|
|
{
|
|
|
|
return d->defaultSyntax;
|
|
|
|
}
|
|
|
|
|
2009-03-12 18:25:13 +01:00
|
|
|
void AbstractRunner::performMatch(Plasma::RunnerContext &localContext)
|
2008-11-04 00:08:39 +01:00
|
|
|
{
|
|
|
|
static const int reasonableRunTime = 1500;
|
|
|
|
static const int fastEnoughTime = 250;
|
|
|
|
|
2010-09-03 00:18:03 +02:00
|
|
|
if (d->suspendMatching) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2009-10-09 01:23:52 +02:00
|
|
|
QTime time;
|
|
|
|
time.restart();
|
2009-03-04 22:03:33 +01:00
|
|
|
|
|
|
|
//The local copy is already obtained in the job
|
2008-11-04 00:08:39 +01:00
|
|
|
match(localContext);
|
2009-03-12 18:25:13 +01:00
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
// automatically rate limit runners that become slooow
|
2009-10-09 01:23:52 +02:00
|
|
|
const int runtime = time.elapsed();
|
2008-11-04 00:08:39 +01:00
|
|
|
bool slowed = speed() == SlowSpeed;
|
|
|
|
|
|
|
|
if (!slowed && runtime > reasonableRunTime) {
|
|
|
|
// we punish runners that return too slowly, even if they don't bring
|
|
|
|
// back matches
|
|
|
|
kDebug() << id() << "runner is too slow, putting it on the back burner.";
|
|
|
|
d->fastRuns = 0;
|
|
|
|
setSpeed(SlowSpeed);
|
|
|
|
}
|
|
|
|
|
2009-03-03 18:37:22 +01:00
|
|
|
if (slowed && runtime < fastEnoughTime && localContext.query().size() > 2) {
|
2008-11-04 00:08:39 +01:00
|
|
|
++d->fastRuns;
|
|
|
|
|
|
|
|
if (d->fastRuns > 2) {
|
|
|
|
// we reward slowed runners who bring back matches fast enough
|
|
|
|
// 3 times in a row
|
|
|
|
kDebug() << id() << "runner is faster than we thought, kicking it up a notch";
|
|
|
|
setSpeed(NormalSpeed);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
QList<QAction*> AbstractRunner::actionsForMatch(const Plasma::QueryMatch &match)
|
|
|
|
{
|
|
|
|
Q_UNUSED(match)
|
|
|
|
QList<QAction*> ret;
|
2009-11-16 08:24:39 +01:00
|
|
|
if (d->script) {
|
|
|
|
emit d->script->actionsForMatch(match, &ret);
|
|
|
|
}
|
2008-11-04 00:08:39 +01:00
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
QAction* AbstractRunner::addAction(const QString &id, const QIcon &icon, const QString &text)
|
|
|
|
{
|
|
|
|
QAction *a = new QAction(icon, text, this);
|
|
|
|
d->actions.insert(id, a);
|
|
|
|
return a;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::addAction(const QString &id, QAction *action)
|
|
|
|
{
|
|
|
|
d->actions.insert(id, action);
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::removeAction(const QString &id)
|
|
|
|
{
|
|
|
|
QAction *a = d->actions.take(id);
|
|
|
|
delete a;
|
|
|
|
}
|
|
|
|
|
|
|
|
QAction* AbstractRunner::action(const QString &id) const
|
|
|
|
{
|
|
|
|
return d->actions.value(id);
|
|
|
|
}
|
|
|
|
|
|
|
|
QHash<QString, QAction*> AbstractRunner::actions() const
|
|
|
|
{
|
|
|
|
return d->actions;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::clearActions()
|
|
|
|
{
|
|
|
|
qDeleteAll(d->actions);
|
|
|
|
d->actions.clear();
|
|
|
|
}
|
|
|
|
|
2010-02-21 20:30:11 +01:00
|
|
|
QMimeData * AbstractRunner::mimeDataForMatch(const QueryMatch *match)
|
2010-02-21 18:06:10 +01:00
|
|
|
{
|
2010-03-23 23:43:34 +01:00
|
|
|
Q_UNUSED(match)
|
2010-02-21 18:06:10 +01:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
bool AbstractRunner::hasRunOptions()
|
|
|
|
{
|
|
|
|
return d->hasRunOptions;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::setHasRunOptions(bool hasRunOptions)
|
|
|
|
{
|
|
|
|
d->hasRunOptions = hasRunOptions;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::createRunOptions(QWidget *parent)
|
|
|
|
{
|
2009-11-06 07:33:24 +01:00
|
|
|
if (d->script) {
|
|
|
|
emit d->script->createRunOptions(parent);
|
|
|
|
}
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
AbstractRunner::Speed AbstractRunner::speed() const
|
|
|
|
{
|
2009-10-09 01:32:25 +02:00
|
|
|
// the only time the read lock will fail is if we were slow are going to speed up
|
|
|
|
// or if we were fast and are going to slow down; so don't wait in this case, just
|
|
|
|
// say we're slow. we either will be soon or were just a moment ago and it doesn't
|
|
|
|
// hurt to do one more run the slow way
|
2009-10-17 15:55:18 +02:00
|
|
|
if (!d->speedLock.tryLockForRead()) {
|
|
|
|
return SlowSpeed;
|
|
|
|
}
|
|
|
|
Speed s = d->speed;
|
|
|
|
d->speedLock.unlock();
|
|
|
|
return s;
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::setSpeed(Speed speed)
|
|
|
|
{
|
2009-10-09 01:32:25 +02:00
|
|
|
d->speedLock.lockForWrite();
|
2008-11-04 00:08:39 +01:00
|
|
|
d->speed = speed;
|
2009-10-09 01:32:25 +02:00
|
|
|
d->speedLock.unlock();
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
AbstractRunner::Priority AbstractRunner::priority() const
|
|
|
|
{
|
|
|
|
return d->priority;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::setPriority(Priority priority)
|
|
|
|
{
|
|
|
|
d->priority = priority;
|
|
|
|
}
|
|
|
|
|
|
|
|
RunnerContext::Types AbstractRunner::ignoredTypes() const
|
|
|
|
{
|
|
|
|
return d->blackListed;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::setIgnoredTypes(RunnerContext::Types types)
|
|
|
|
{
|
|
|
|
d->blackListed = types;
|
|
|
|
}
|
|
|
|
|
|
|
|
KService::List AbstractRunner::serviceQuery(const QString &serviceType, const QString &constraint) const
|
|
|
|
{
|
|
|
|
return KServiceTypeTrader::self()->query(serviceType, constraint);
|
|
|
|
}
|
|
|
|
|
2008-12-12 21:10:50 +01:00
|
|
|
QMutex* AbstractRunner::bigLock()
|
2008-11-04 00:08:39 +01:00
|
|
|
{
|
|
|
|
return s_bigLock;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::run(const Plasma::RunnerContext &search, const Plasma::QueryMatch &action)
|
|
|
|
{
|
|
|
|
if (d->script) {
|
|
|
|
return d->script->run(search, action);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::match(Plasma::RunnerContext &search)
|
|
|
|
{
|
|
|
|
if (d->script) {
|
|
|
|
return d->script->match(search);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
QString AbstractRunner::name() const
|
|
|
|
{
|
2010-03-23 23:43:34 +01:00
|
|
|
if (d->runnerDescription.isValid()) {
|
|
|
|
return d->runnerDescription.name();
|
|
|
|
}
|
|
|
|
|
|
|
|
if (d->package) {
|
|
|
|
return d->package->metadata().name();
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
2009-03-25 02:08:08 +01:00
|
|
|
|
2010-03-23 23:43:34 +01:00
|
|
|
return objectName();
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
2009-03-25 02:08:08 +01:00
|
|
|
QIcon AbstractRunner::icon() const
|
|
|
|
{
|
2010-03-23 23:43:34 +01:00
|
|
|
if (d->runnerDescription.isValid()) {
|
|
|
|
return KIcon(d->runnerDescription.icon());
|
|
|
|
}
|
|
|
|
|
|
|
|
if (d->package) {
|
|
|
|
return KIcon(d->package->metadata().icon());
|
2009-03-25 02:08:08 +01:00
|
|
|
}
|
|
|
|
|
2010-03-23 23:43:34 +01:00
|
|
|
return QIcon();
|
2009-03-25 02:08:08 +01:00
|
|
|
}
|
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
QString AbstractRunner::id() const
|
|
|
|
{
|
2010-03-23 23:43:34 +01:00
|
|
|
if (d->runnerDescription.isValid()) {
|
|
|
|
return d->runnerDescription.pluginName();
|
|
|
|
}
|
|
|
|
|
|
|
|
if (d->package) {
|
|
|
|
return d->package->metadata().pluginName();
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
2010-03-23 23:43:34 +01:00
|
|
|
|
|
|
|
return objectName();
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
QString AbstractRunner::description() const
|
|
|
|
{
|
2010-03-23 23:54:01 +01:00
|
|
|
if (d->runnerDescription.isValid()) {
|
2010-03-23 23:43:34 +01:00
|
|
|
return d->runnerDescription.property("Comment").toString();
|
|
|
|
}
|
|
|
|
|
|
|
|
if (d->package) {
|
|
|
|
return d->package->metadata().description();
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
2009-03-25 02:08:08 +01:00
|
|
|
|
2010-03-23 23:43:34 +01:00
|
|
|
return objectName();
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
const Package* AbstractRunner::package() const
|
|
|
|
{
|
|
|
|
return d->package;
|
|
|
|
}
|
|
|
|
|
2009-11-25 10:37:47 +01:00
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
void AbstractRunner::init()
|
|
|
|
{
|
|
|
|
if (d->script) {
|
2009-11-12 07:38:16 +01:00
|
|
|
d->setupScriptSupport();
|
2008-11-04 00:08:39 +01:00
|
|
|
d->script->init();
|
|
|
|
}
|
2010-08-24 22:38:35 +02:00
|
|
|
|
|
|
|
reloadConfiguration();
|
2008-11-04 00:08:39 +01:00
|
|
|
}
|
|
|
|
|
2009-11-19 01:19:11 +01:00
|
|
|
DataEngine *AbstractRunner::dataEngine(const QString &name) const
|
|
|
|
{
|
|
|
|
return d->dataEngine(name);
|
|
|
|
}
|
|
|
|
|
2010-09-03 00:18:03 +02:00
|
|
|
bool AbstractRunner::isMatchingSuspended() const
|
|
|
|
{
|
|
|
|
return d->suspendMatching;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunner::suspendMatching(bool suspend)
|
|
|
|
{
|
|
|
|
if (d->suspendMatching == suspend) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
d->suspendMatching = suspend;
|
|
|
|
emit matchingSuspended(suspend);
|
|
|
|
}
|
|
|
|
|
2010-03-23 23:43:34 +01:00
|
|
|
AbstractRunnerPrivate::AbstractRunnerPrivate(AbstractRunner *r)
|
2009-11-11 01:25:27 +01:00
|
|
|
: priority(AbstractRunner::NormalPriority),
|
|
|
|
speed(AbstractRunner::NormalSpeed),
|
|
|
|
blackListed(0),
|
|
|
|
script(0),
|
|
|
|
runner(r),
|
|
|
|
fastRuns(0),
|
|
|
|
package(0),
|
2010-09-03 00:18:03 +02:00
|
|
|
defaultSyntax(0),
|
2009-11-25 10:37:47 +01:00
|
|
|
hasRunOptions(false),
|
2010-09-03 00:18:03 +02:00
|
|
|
suspendMatching(false)
|
2009-11-11 01:25:27 +01:00
|
|
|
{
|
2010-03-23 23:43:34 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
AbstractRunnerPrivate::~AbstractRunnerPrivate()
|
|
|
|
{
|
|
|
|
delete script;
|
|
|
|
script = 0;
|
|
|
|
delete package;
|
|
|
|
package = 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunnerPrivate::init(const KService::Ptr service)
|
|
|
|
{
|
|
|
|
runnerDescription = KPluginInfo(service);
|
2009-11-11 01:25:27 +01:00
|
|
|
if (runnerDescription.isValid()) {
|
|
|
|
const QString api = runnerDescription.property("X-Plasma-API").toString();
|
|
|
|
if (!api.isEmpty()) {
|
2010-03-23 23:43:34 +01:00
|
|
|
const QString path = KStandardDirs::locate("data", "plasma/runners/" + runnerDescription.pluginName() + '/');
|
|
|
|
prepScripting(path, api);
|
2009-11-11 01:25:27 +01:00
|
|
|
if (!script) {
|
2010-03-23 23:43:34 +01:00
|
|
|
kDebug() << "Could not create a(n)" << api << "ScriptEngine for the" << runnerDescription.name() << "Runner.";
|
2009-11-11 01:25:27 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2010-03-23 23:43:34 +01:00
|
|
|
void AbstractRunnerPrivate::init(const QString &path)
|
2009-11-11 01:25:27 +01:00
|
|
|
{
|
2010-03-23 23:43:34 +01:00
|
|
|
prepScripting(path);
|
|
|
|
}
|
|
|
|
|
|
|
|
void AbstractRunnerPrivate::prepScripting(const QString &path, QString api)
|
|
|
|
{
|
|
|
|
if (script) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2010-08-25 16:48:41 +02:00
|
|
|
delete package;
|
2010-03-23 23:43:34 +01:00
|
|
|
|
|
|
|
PackageStructure::Ptr structure = Plasma::packageStructure(api, Plasma::RunnerComponent);
|
|
|
|
structure->setPath(path);
|
|
|
|
package = new Package(path, structure);
|
|
|
|
|
|
|
|
if (!package->isValid()) {
|
|
|
|
kDebug() << "Invalid Runner package at" << path;
|
|
|
|
delete package;
|
|
|
|
package = 0;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (api.isEmpty()) {
|
|
|
|
api = package->metadata().implementationApi();
|
|
|
|
}
|
|
|
|
|
|
|
|
script = Plasma::loadScriptEngine(api, runner);
|
|
|
|
if (!script) {
|
|
|
|
delete package;
|
|
|
|
package = 0;
|
|
|
|
}
|
2009-11-11 01:25:27 +01:00
|
|
|
}
|
|
|
|
|
2009-11-12 07:38:16 +01:00
|
|
|
// put all setup routines for script here. at this point we can assume that
|
|
|
|
// package exists and that we have a script engine
|
|
|
|
void AbstractRunnerPrivate::setupScriptSupport()
|
|
|
|
{
|
|
|
|
if (!package) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
kDebug() << "setting up script support, package is in" << package->path()
|
|
|
|
<< "which is a" << package->structure()->type() << "package"
|
|
|
|
<< ", main script is" << package->filePath("mainscript");
|
|
|
|
|
|
|
|
QString translationsPath = package->filePath("translations");
|
|
|
|
if (!translationsPath.isEmpty()) {
|
|
|
|
//FIXME: we should _probably_ use a KComponentData to segregate the applets
|
|
|
|
// from each other; but I want to get the basics working first :)
|
|
|
|
KGlobal::dirs()->addResourceDir("locale", translationsPath);
|
|
|
|
KGlobal::locale()->insertCatalog(package->metadata().pluginName());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2008-11-04 00:08:39 +01:00
|
|
|
} // Plasma namespace
|
|
|
|
|
|
|
|
#include "abstractrunner.moc"
|