diff options
author | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-07-11 15:18:42 +0200 |
---|---|---|
committer | Marcus Fritzsch <marcus_fritzsch@mentor.com> | 2017-08-08 17:24:00 +0200 |
commit | 628df48e0238391658dab54f81dfa1c62dbfb3ec (patch) | |
tree | 9f12ca0c00abc5e5d3e201e5052308ca640fe86f /src/app.cpp | |
parent | 675184e57e4b1a04f871babc2bc777c6f53e7b6f (diff) |
main/app: started to move things to app
Started implementing App, as the actual implementation, that is, to
pull out all the stuff that is actually the application and only have
glue code reside in main.
Signed-off-by: Marcus Fritzsch <marcus_fritzsch@mentor.com>
Diffstat (limited to 'src/app.cpp')
-rw-r--r-- | src/app.cpp | 30 |
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 |