[add] RpcStub header guards
This commit is contained in:
parent
f8eceb3124
commit
c29252d5e5
@ -2,6 +2,8 @@
|
|||||||
#include "protodefs/include/protos.grpc.pb.h"
|
#include "protodefs/include/protos.grpc.pb.h"
|
||||||
#include "rtcPeerHandler.hpp"
|
#include "rtcPeerHandler.hpp"
|
||||||
|
|
||||||
|
#ifndef RPCSTUB
|
||||||
|
#define RPCSTUB
|
||||||
class rpcStub{
|
class rpcStub{
|
||||||
public:
|
public:
|
||||||
rpcStub(std::shared_ptr<rtcPeerHandler> peerHandler, int port);
|
rpcStub(std::shared_ptr<rtcPeerHandler> peerHandler, int port);
|
||||||
@ -9,4 +11,5 @@ class rpcStub{
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::shared_ptr<rtcPeerHandler> ph;
|
std::shared_ptr<rtcPeerHandler> ph;
|
||||||
};
|
};
|
||||||
|
#endif
|
Loading…
x
Reference in New Issue
Block a user