refs #199 and refs #198, formatting / Doxygen as preparation for some refactoring.

Also added new icon as application and table view icon.
This commit is contained in:
Klaus Basan
2014-04-01 03:25:03 +02:00
parent cf009d7b17
commit 8d5e06a439
30 changed files with 171 additions and 365 deletions

View File

@@ -1,7 +1,7 @@
#ifndef BLACKMISCTEST_Tool_H
#define BLACKMISCTEST_Tool_H
#include "blackcore/coreruntime.h"
#include "blackcore/context_runtime.h"
#include <QCoreApplication>
#include <QProcess>
#include <QDBusConnection>
@@ -15,35 +15,21 @@ namespace BlackMiscTest
class Tool
{
private:
/*!
* \brief Constructor
*/
//! \brief Constructor
Tool() {}
public:
/*!
* \brief Get process id
* \return
*/
//! \brief Get process id
static qint64 getPid()
{
return QCoreApplication::applicationPid();
}
/*!
* \brief Start a new process
* \param executable
* \param arguments
* \param parent
* \return
*/
//! Start a new process
static QProcess *startNewProcess(const QString &executable, const QStringList &arguments = QStringList(), QObject *parent = 0);
/*!
* \brief Server loop
* \param core
*/
static void serverLoop(const BlackCore::CCoreRuntime *core);
//! \brief Server loop
static void serverLoop(const BlackCore::CRuntime *runtime);
};
} // namespace