Also add noexcept qualifications on the Wine side

See the last few commits.
This commit is contained in:
Robbert van der Helm
2021-05-14 18:27:19 +02:00
parent 37257298a1
commit a9643577fd
12 changed files with 118 additions and 100 deletions
+12 -6
View File
@@ -51,14 +51,17 @@ class StdIoCapture {
*/
StdIoCapture(boost::asio::io_context& io_context, int file_descriptor);
StdIoCapture(const StdIoCapture&) = delete;
StdIoCapture& operator=(const StdIoCapture&) = delete;
/**
* On cleanup, close the outgoing file descriptor from the pipe and restore
* the original file descriptor for the captured stream.
*/
~StdIoCapture();
~StdIoCapture() noexcept;
StdIoCapture(const StdIoCapture&) = delete;
StdIoCapture& operator=(const StdIoCapture&) = delete;
StdIoCapture(StdIoCapture&&) = delete;
StdIoCapture& operator=(StdIoCapture&&) = delete;
/**
* The pipe endpoint where all output from the original file descriptor gets
@@ -122,18 +125,21 @@ class GroupBridge {
*/
explicit GroupBridge(boost::filesystem::path group_socket_path);
~GroupBridge();
~GroupBridge() noexcept;
GroupBridge(const GroupBridge&) = delete;
GroupBridge& operator=(const GroupBridge&) = delete;
GroupBridge(const GroupBridge&&) = delete;
GroupBridge& operator=(GroupBridge&&) = delete;
/**
* If this returns `true`, then the group host's event loop should
* temporarily be disabled. This simply calls
* `HostBridge::inhibits_event_loop()` for all plugins hosted in this group
* process.
*/
bool is_event_loop_inhibited();
bool is_event_loop_inhibited() noexcept;
/**
* Run a plugin's dispatcher and message loop, processing all events on the