libaurum: refactor a flick command and implementation
[platform/core/uifw/aurum.git] / org.tizen.aurum-bootstrap / inc / Commands / FlickCommand.h
1 #ifndef FLICK_COMMAND_H
2 #define FLICK_COMMAND_H
3
4 #include <gio/gio.h>
5 #include <grpcpp/grpcpp.h>
6 #include "Commands/Command.h"
7 #include "ObjectMapper.h"
8 #include <aurum.grpc.pb.h>
9 #include "config.h"
10
11 class FlickCommand : public Command {
12 private:
13     const ::aurum::ReqFlick* mRequest;
14     ::aurum::RspFlick*       mResponse;
15     const unsigned int MINIMUM_TOUCHEVENT_INTV_MS = 25;
16
17 public:
18     FlickCommand(const ::aurum::ReqFlick* request, ::aurum::RspFlick* response);
19     ;
20     ::grpc::Status execute() override;
21 };
22
23 #endif