#include "Commands/PreCommand.h"
#include "config.h"
-#include "loguru.hpp"
+#include <loguru.hpp>
using namespace grpc;
using namespace aurum;
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());
+}
\ No newline at end of file