summaryrefslogtreecommitdiff
path: root/libsowatch/watchlet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libsowatch/watchlet.cpp')
-rw-r--r--libsowatch/watchlet.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/libsowatch/watchlet.cpp b/libsowatch/watchlet.cpp
index 9b3567e..555443f 100644
--- a/libsowatch/watchlet.cpp
+++ b/libsowatch/watchlet.cpp
@@ -24,6 +24,16 @@ Watch* Watchlet::watch()
return _server->watch();
}
+const WatchServer* Watchlet::server() const
+{
+ return _server;
+}
+
+const Watch* Watchlet::watch() const
+{
+ return _server->watch();
+}
+
QString Watchlet::id() const
{
return _id;