implement screenshot feature
[platform/core/uifw/aurum.git] / org.tizen.aurum-bootstrap / src / AurumServiceImpl.cc
index ae7da19..74c3727 100644 (file)
@@ -181,3 +181,11 @@ aurumServiceImpl::~aurumServiceImpl() {}
     std::unique_ptr<SendKeyCommand> cmd = std::make_unique<SendKeyCommand>(request, response);
     return execute(cmd.get());
 }
+::grpc::Status aurumServiceImpl::takeScreenshot(
+    ::grpc::ServerContext* context,
+    const ::aurum::ReqTakeScreenshot*                  request,
+    ::grpc::ServerWriter< ::aurum::RspTakeScreenshot>* writer)
+{
+    std::unique_ptr<TakeScreenshotCommand> cmd = std::make_unique<TakeScreenshotCommand>(request, writer);
+    return execute(cmd.get());
+}