projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fbc766
)
Add Socket::is_open().
author
Carl Hetherington
<cth@carlh.net>
Sat, 15 Jun 2024 23:19:45 +0000
(
01:19
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 23 Jun 2024 17:51:28 +0000
(19:51 +0200)
src/lib/dcpomatic_socket.h
patch
|
blob
|
history
diff --git
a/src/lib/dcpomatic_socket.h
b/src/lib/dcpomatic_socket.h
index 3fa2908ff098433abb89d0d4b70ed4fd3c3ab0a4..86e5f12661185e2ad90d4ea0335fcd55a37c4b8d 100644
(file)
--- a/
src/lib/dcpomatic_socket.h
+++ b/
src/lib/dcpomatic_socket.h
@@
-56,6
+56,10
@@
public:
void run();
void close();
+ bool is_open() const {
+ return _socket.is_open();
+ }
+
class ReadDigestScope
{
public: