summaryrefslogtreecommitdiff
path: root/library/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'library/src/client.cpp')
-rw-r--r--library/src/client.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/library/src/client.cpp b/library/src/client.cpp
new file mode 100644
index 0000000..187f36e
--- /dev/null
+++ b/library/src/client.cpp
@@ -0,0 +1,12 @@
+#include "client.h"
+
+#include <rpc/client.h>
+
+#include <hwd/internal.h>
+
+
+rpc::client & get_client()
+{
+ static rpc::client c(hwd::internal::host(), hwd::internal::port());
+ return c;
+}