summaryrefslogtreecommitdiff
path: root/library/src/library.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/library.cpp')
-rw-r--r--library/src/library.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/library/src/library.cpp b/library/src/library.cpp
index 4691849..73f40f9 100644
--- a/library/src/library.cpp
+++ b/library/src/library.cpp
@@ -16,4 +16,14 @@ void stop_server()
get_client().call("stop_server");
}
+void set_value(const int value)
+{
+ get_client().call("set_value", value);
+}
+
+int get_value()
+{
+ return get_client().call("get_value").as<int>();
+}
+
} // namespace hwd