aboutsummaryrefslogtreecommitdiff
path: root/client/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/main.cpp')
-rw-r--r--client/main.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/client/main.cpp b/client/main.cpp
index d889838..c5a78b2 100644
--- a/client/main.cpp
+++ b/client/main.cpp
@@ -31,17 +31,13 @@
static void test_things(void)
{
- wesh::dummy_wes wes;
-
- wes.gather();
- std::cout << wes << std::endl;
+ wesh::interface iface;
+ wesh::dummy_wes wes = iface.get_dummy_wes();
wes.set_name("hello-world");
std::cout << wes << std::endl;
- wes.remove();
-
- return ;
+ iface.remove(wes);
}
/* ---