summaryrefslogtreecommitdiffstats
path: root/src/AglShellGrpcClient.h
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-07-31 14:53:47 +0300
committerMarius Vlad <marius.vlad@collabora.com>2023-08-31 07:21:53 +0000
commitcb43847cd07ba3d2b3e1f34aff3d6c98325c1c20 (patch)
tree16f450e6299912365a14dc33503533fb2dc468c4 /src/AglShellGrpcClient.h
parent21772bfc2d482248e2df5438039a70d5231bc993 (diff)
Add SetAppScale example support
This adds support for set_app_scale request to demonstrate the equivalence of surface_set_destination_rectangle from ivi-shell. Bug-AGL: SPEC-4862 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: I59cf316f7304135a8f8520ca61333c1e549363a9
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 bc246d9..844ece5 100644
--- a/src/AglShellGrpcClient.h
+++ b/src/AglShellGrpcClient.h
@@ -95,6 +95,7 @@ public:
bool SetAppFullscreen(const std::string& app_id);
bool SetAppOnOutput(const std::string& app_id, const std::string& output);
bool SetAppPosition(const std::string& app_id, int32_t x, int32_t y);
+ bool SetAppScale(const std::string& app_id, int32_t width, int32_t height);
std::vector<std::string> GetOutputs();
void GetAppState();
void AppStatusState(Callback callback);