remove unused includes

This commit is contained in:
2025-08-13 10:32:42 +03:00
parent 6ffbbbe636
commit 30c4f215a2
2 changed files with 1 additions and 9 deletions

View File

@@ -17,9 +17,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "piliterals_time.h"
#include "pitime.h" #include "pitime.h"
#include "pitranslator.h"
#ifndef MICRO_PIP #ifndef MICRO_PIP
# include "piincludes_p.h" # include "piincludes_p.h"
@@ -294,11 +292,6 @@ void PIProcess::terminate() {
} }
bool PIProcess::waitForFinish() {
return PIThread::waitForFinish(1_m);
}
void PIProcess::execIndependent(const PIString & program, const PIStringList & args_) { void PIProcess::execIndependent(const PIString & program, const PIStringList & args_) {
PIProcess p; PIProcess p;
p.args << program << args_; p.args << program << args_;

View File

@@ -28,7 +28,6 @@
#ifndef MICRO_PIP #ifndef MICRO_PIP
# include "pifile.h"
# include "pithread.h" # include "pithread.h"
@@ -110,7 +109,7 @@ public:
exec_(); exec_();
} }
EVENT_HANDLER(void, terminate); EVENT_HANDLER(void, terminate);
EVENT_HANDLER(bool, waitForFinish); EVENT_HANDLER(bool, waitForFinish) { return PIThread::waitForFinish(); }
EVENT_HANDLER1(bool, waitForFinish, PISystemTime, timeout) { return PIThread::waitForFinish(timeout); } EVENT_HANDLER1(bool, waitForFinish, PISystemTime, timeout) { return PIThread::waitForFinish(timeout); }
EVENT1(execStarted, PIString, program); EVENT1(execStarted, PIString, program);