From dea825c24eea9fa92dd9f0ccf2e24af4ed89683c Mon Sep 17 00:00:00 2001 From: houxiao <houxiao@454eff88-639b-444f-9e54-f578c98de674> Date: 星期四, 10 八月 2017 11:48:31 +0800 Subject: [PATCH] fix for compile --- VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteFuncClient.h | 25 ++++++++++++++++--------- 1 files changed, 16 insertions(+), 9 deletions(-) diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteFuncClient.h b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteFuncClient.h index 75f482b..32ecdad 100644 --- a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteFuncClient.h +++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteFuncClient.h @@ -7,23 +7,30 @@ #include <string> #include <capnp/ez-rpc.h> -#include "RemoteMethod.proto.h" +#include "RemoteMethod.capnp.h" #include "CameraWrapperServer.h" + void startRemoteServer(); -class RtspFaceViewClient : RtspFaceView::Client{ + +class RtspFaceViewClient : RtspFaceView::Client +{ public: - RtspFaceViewClient(); - ~RtspFaceViewClient(){}; - ::kj::WaitScope& getWaitScope(); + RtspFaceViewClient(); + + ~RtspFaceViewClient() {}; + + ::kj::WaitScope &getWaitScope(); + private: - capnp::EzRpcClient rpcClient; + capnp::EzRpcClient rpcClient; }; -const RtspFaceViewClient& getRtspFaceViewClient(); +const RtspFaceViewClient &getRtspFaceViewClient(); -class RtspFaceDetectImpl final : public RtspFaceDetect::Server{ +class RtspFaceDetectImpl final : public RtspFaceDetect::Server +{ public: - virtual ::kj::Promise<void> fireFaceCountListener(FireFaceCountListenerContext context) override ; + virtual ::kj::Promise<void> fireFaceCountListener(FireFaceCountListenerContext context) override; }; #endif //RTSPNATIVECODEC_REMOTEMETHODCLIENT_H -- Gitblit v1.8.0