X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=homescreen%2Fsrc%2FAglShellManager.h;fp=homescreen%2Fsrc%2FAglShellManager.h;h=45e81c970e0fa8d22321e5bb83fa14f4bae3e493;hb=59ecd4b02108f2830fde8f311ec632932508c6db;hp=0000000000000000000000000000000000000000;hpb=bf125b0779f07e9d65f83da99d16accdad72b08b;p=apps%2Fhomescreen.git diff --git a/homescreen/src/AglShellManager.h b/homescreen/src/AglShellManager.h new file mode 100644 index 0000000..45e81c9 --- /dev/null +++ b/homescreen/src/AglShellManager.h @@ -0,0 +1,42 @@ +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +#include +#include + +#include "agl_shell.grpc.pb.h" + +namespace { + const char kDefaultGrpcServiceAddress[] = "127.0.0.1:14004"; +} + + +class GrpcServiceImpl final : public agl_shell_ipc::AglShellManagerService::CallbackService { + + grpc::ServerUnaryReactor *ActivateApp(grpc::CallbackServerContext *context, + const ::agl_shell_ipc::ActivateRequest* request, + google::protobuf::Empty* /*response*/); + + grpc::ServerUnaryReactor *DeactivateApp(grpc::CallbackServerContext *context, + const ::agl_shell_ipc::DeactivateRequest* request, + google::protobuf::Empty* /*response*/); + + grpc::ServerUnaryReactor *SetAppSplit(grpc::CallbackServerContext *context, + const ::agl_shell_ipc::SplitRequest* request, + google::protobuf::Empty* /*response*/); + + grpc::ServerUnaryReactor *SetAppFloat(grpc::CallbackServerContext *context, + const ::agl_shell_ipc::FloatRequest* request, + google::protobuf::Empty* /*response*/); +};