mirror of
https://github.com/jellyfin/jellyfin-media-player.git
synced 2025-02-17 04:17:44 +00:00
Remove unused
This commit is contained in:
parent
dcbfd16fdc
commit
1f2aeae2df
@ -4,7 +4,6 @@
|
||||
#include <QMap>
|
||||
#include <QObject>
|
||||
#include <QFileSystemWatcher>
|
||||
#include <QRegExp>
|
||||
#include <QVariantMap>
|
||||
#include <QMutex>
|
||||
#include <utils/CachedRegexMatcher.h>
|
||||
|
@ -1,7 +1,6 @@
|
||||
|
||||
add_sources(
|
||||
CachedRegexMatcher.cpp CachedRegexMatcher.h
|
||||
PlatformUtils.cpp PlatformUtils.h
|
||||
Utils.cpp Utils.h
|
||||
Log.cpp Log.h
|
||||
)
|
||||
|
@ -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;
|
||||
}
|
@ -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
|
Loading…
x
Reference in New Issue
Block a user