diff ui/processhelp_linux.cpp @ 603:cfef809b890d

Add Process Management functions and ther implementation for windows.
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 17 Jun 2014 17:26:10 +0200
parents
children 20ca94680003
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/ui/processhelp_linux.cpp	Tue Jun 17 17:26:10 2014 +0200
@@ -0,0 +1,30 @@
+/* Copyright (C) 2014 by Bundesamt für Sicherheit in der Informationstechnik
+ * Software engineering by Intevation GmbH
+ *
+ * This file is Free Software under the GNU GPL (v>=2)
+ * and comes with ABSOLUTELY NO WARRANTY!
+ * See LICENSE.txt for details.
+ */
+#ifndef WIN32
+
+#include "processhelp.h"
+
+const QList<int> ProcessHelp::getProcessesIdForName(const QString &processName) {
+    // TODO
+    Q_UNUSED(processName);
+    return QList<int>();
+}
+
+bool ProcessHelp::otherProcessesExist(const QString &processName) {
+    // TODO
+    Q_UNUSED(processName);
+    return false;
+}
+
+void ProcessHelp::activateWindowForProcess(const QString &executableName) {
+    // TODO
+    Q_UNUSED(executableName);
+    return;
+}
+
+#endif /* Not WIN32 */

http://wald.intevation.org/projects/trustbridge/