Add more grpc - Asyncstuff
[src/agl-compositor.git] / clients / shell.h
1 #pragma once
2
3 #include <memory>
4
5 #include "agl-shell-client-protocol.h"
6
7 #include "main-grpc.h"
8
9 class Shell {
10 public:
11         std::shared_ptr<struct agl_shell> m_shell;
12         struct shell_data *m_shell_data;
13
14         Shell(std::shared_ptr<struct agl_shell> shell,
15               struct shell_data *sh_data) :
16                 m_shell(shell), m_shell_data(sh_data) { }
17         void ActivateApp(const std::string &app_id, const std::string &output_name);
18         void DeactivateApp(const std::string &app_id);
19         void SetAppSplit(const std::string &app_id, uint32_t orientation);
20         void SetAppFloat(const std::string &app_id);
21 };