summaryrefslogtreecommitdiffstats
path: root/src/AglShellGrpcClient.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-04-07 19:36:32 +0300
committerMarius Vlad <marius.vlad@collabora.com>2023-04-27 23:27:39 +0300
commitc625714c4adce04c34ab406bdd444b13773760e2 (patch)
tree1d6327a4122a2164dd79f68f32a7b3696cb3494e /src/AglShellGrpcClient.h
parent8b057267c4180e5648b6636f4b5b1de07f627977 (diff)
AglShellGrpcClient: Add set_app_output
This is part of the larger SPEC-4673 which incorporates the whole gRPC interface. In this patch we add support for mapping the application, from the start, to another output, other than the default (last one). Bug-AGL: SPEC-4673 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I2cac3ebaefcdb8de4b4ce32386f8a239dc9b8712
Diffstat (limited to 'src/AglShellGrpcClient.h')
-rw-r--r--src/AglShellGrpcClient.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AglShellGrpcClient.h b/src/AglShellGrpcClient.h
index a50369a..7c30fe6 100644
--- a/src/AglShellGrpcClient.h
+++ b/src/AglShellGrpcClient.h
@@ -93,6 +93,7 @@ public:
bool DeactivateApp(const std::string& app_id);
bool SetAppFloat(const std::string& app_id, int32_t x_pos, int32_t y_pos);
bool SetAppFullscreen(const std::string& app_id);
+ bool SetAppOnOutput(const std::string& app_id, const std::string& output);
std::vector<std::string> GetOutputs();
void GetAppState();
void AppStatusState(Callback callback);