OSDN Git Service

Bump x264 minimum required version to API-#160 (r2999).
[x264-launcher/x264-launcher.git] / src / thread_ipc_recv.h
index d8a794f..b6b8fc3 100644 (file)
@@ -1,6 +1,6 @@
 ///////////////////////////////////////////////////////////////////////////////
 // Simple x264 Launcher
-// Copyright (C) 2004-2015 LoRd_MuldeR <MuldeR2@GMX.de>
+// Copyright (C) 2004-2020 LoRd_MuldeR <MuldeR2@GMX.de>
 //
 // This program is free software; you can redistribute it and/or modify
 // it under the terms of the GNU General Public License as published by
 
 #pragma once
 
-#include <QThread>
+#include "thread_abstract.h"
 
 namespace MUtils
 {
        class IPCChannel;
 }
 
-class IPCThread_Recv: public QThread
+class IPCThread_Recv: public AbstractThread
 {
        Q_OBJECT
 
@@ -46,5 +46,9 @@ protected:
        volatile bool m_stopFlag;
        MUtils::IPCChannel *const m_ipcChannel;
 
-       void run();
+       //Entry point
+       virtual void run(void);
+
+       //Thread main
+       virtual int threadMain(void);
 };