File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change 55
66#include < string>
77
8- #include < google/protobuf/descriptor.h>
9- #include < google/protobuf/message.h>
10- #include < grpcpp/impl/service_type.h>
11- #include < grpcpp/server.h>
12-
138#include < viam/sdk/common/grpc_client_fwd.hpp>
149#include < viam/sdk/config/resource.hpp>
1510#include < viam/sdk/resource/resource.hpp>
1813#include < viam/sdk/resource/resource_server_base.hpp>
1914#include < viam/sdk/rpc/server.hpp>
2015
16+ namespace google {
17+ namespace protobuf {
18+
19+ class ServiceDescriptor ;
20+
21+ }
22+ } // namespace google
23+
2124namespace viam {
2225namespace sdk {
2326
2427// TODO(RSDK-6617): one class per header
2528class ResourceServerRegistration {
2629 public:
27- ResourceServerRegistration (const google::protobuf::ServiceDescriptor* service_descriptor);
30+ ResourceServerRegistration (const :: google::protobuf::ServiceDescriptor* service_descriptor);
2831
2932 virtual ~ResourceServerRegistration ();
3033
@@ -36,10 +39,10 @@ class ResourceServerRegistration {
3639 std::shared_ptr<ResourceManager> manager, Server& server) const = 0;
3740
3841 // / @brief Returns a reference to the `ResourceServerRegistration`'s service descriptor.
39- const google::protobuf::ServiceDescriptor* service_descriptor () const ;
42+ const :: google::protobuf::ServiceDescriptor* service_descriptor () const ;
4043
4144 private:
42- const google::protobuf::ServiceDescriptor* service_descriptor_;
45+ const :: google::protobuf::ServiceDescriptor* service_descriptor_;
4346};
4447
4548// / @class ResourceClientRegistration registry.hpp "registry/registry.hpp"
You can’t perform that action at this time.
0 commit comments