main/app: started to move things to app
[staging/windowmanager.git] / src / app.cpp
1 //
2 // Created by mfritzsc on 7/11/17.
3 //
4
5 #include "app.hpp"
6
7 namespace wm {
8
9     App::App()
10             : api{this}
11     {}
12
13     result<char const *, json> App::API::register_surface(uint32_t appid,
14                                                           uint32_t surfid) {
15         return Err<char const *, json>("not implemented");
16     }
17
18     result<char const *, json> App::API::debug_layers() const {
19         return Err<char const *, json>("not implemented");
20     }
21
22     result<char const *, json> App::API::debug_surfaces() const {
23         return Err<char const *, json>("not implemented");
24     }
25
26     result<char const *, json> App::API::debug_status() const {
27         return Err<char const *, json>("not implemented");
28     }
29
30 } // namespace wm