Remove unused

This commit is contained in:
Andrew Rabert 2024-04-20 13:40:19 -04:00
parent dcbfd16fdc
commit 1f2aeae2df
4 changed files with 0 additions and 39 deletions

View File

@ -4,7 +4,6 @@
#include <QMap>
#include <QObject>
#include <QFileSystemWatcher>
#include <QRegExp>
#include <QVariantMap>
#include <QMutex>
#include <utils/CachedRegexMatcher.h>

View File

@ -1,7 +1,6 @@
add_sources(
CachedRegexMatcher.cpp CachedRegexMatcher.h
PlatformUtils.cpp PlatformUtils.h
Utils.cpp Utils.h
Log.cpp Log.h
)

View File

@ -1,19 +0,0 @@
//
// Created by Tobias Hieta on 15/05/15.
//
#include "PlatformUtils.h"
#ifdef Q_OS_UNIX
#include <signal.h>
#endif
bool PlatformUtils::isProcessAlive(Q_PID pid)
{
#ifdef Q_OS_UNIX
int ret = kill((pid_t)pid, 0);
return ret == 0;
#endif
return false;
}

View File

@ -1,18 +0,0 @@
//
// Created by Tobias Hieta on 15/05/15.
//
#ifndef KONVERGO_PLATFORMUTILS_H
#define KONVERGO_PLATFORMUTILS_H
#include <QProcess>
class PlatformUtils
{
public:
PlatformUtils() { }
static bool isProcessAlive(Q_PID pid);
};
#endif //KONVERGO_PLATFORMUTILS_H