LeechCraft 0.6.70-17609-g3dde4097dd
Modular cross-platform feature rich live environment.
Loading...
Searching...
No Matches
process.h
Go to the documentation of this file.
1/**********************************************************************
2 * LeechCraft - modular cross-platform feature rich internet client.
3 * Copyright (C) 2006-2014 Georg Rudoy
4 *
5 * Distributed under the Boost Software License, Version 1.0.
6 * (See accompanying file LICENSE or copy at https://www.boost.org/LICENSE_1_0.txt)
7 **********************************************************************/
8
9#pragma once
10
11#include <coroutine>
12#include <QMetaObject>
14#include "../threadsconfig.h"
15
16class QProcess;
17
18namespace LC::Util::detail
19{
21 {
22 QProcess& Process_;
23
26
27 bool await_ready () const noexcept;
28 void await_suspend (std::coroutine_handle<> handle) noexcept;
29 void await_resume () const noexcept;
30 };
31}
32
33namespace LC
34{
35 UTIL_THREADS_API Util::detail::ProcessAwaiter operator co_await (QProcess& process);
36}
Definition constants.h:15
RaiiSignalConnection FinishedConn_
Definition process.h:24
RaiiSignalConnection ErrorConn_
Definition process.h:25
#define UTIL_THREADS_API