summaryrefslogtreecommitdiffstats
path: root/src/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.cpp')
-rw-r--r--src/app.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/app.cpp b/src/app.cpp
new file mode 100644
index 0000000..5da4f9d
--- /dev/null
+++ b/src/app.cpp
@@ -0,0 +1,30 @@
+//
+// Created by mfritzsc on 7/11/17.
+//
+
+#include "app.hpp"
+
+namespace wm {
+
+ App::App()
+ : api{this}
+ {}
+
+ result<char const *, json> App::API::register_surface(uint32_t appid,
+ uint32_t surfid) {
+ return Err<char const *, json>("not implemented");
+ }
+
+ result<char const *, json> App::API::debug_layers() const {
+ return Err<char const *, json>("not implemented");
+ }
+
+ result<char const *, json> App::API::debug_surfaces() const {
+ return Err<char const *, json>("not implemented");
+ }
+
+ result<char const *, json> App::API::debug_status() const {
+ return Err<char const *, json>("not implemented");
+ }
+
+} // namespace wm \ No newline at end of file