ADD: added protobuf lib

This commit is contained in:
Henry Winkel
2022-10-22 16:00:58 +02:00
parent 22d06a02db
commit a9eb981de2
4 changed files with 69 additions and 2 deletions

12
src/main.cpp Normal file
View File

@@ -0,0 +1,12 @@
#include <iostream>
#include "protos/join.pb.h"
int main()
{
}

16
src/protos/join.proto Normal file
View File

@@ -0,0 +1,16 @@
// [START declaration]
syntax = "proto3";
package messages.join;
import "google/protobuf/timestamp.proto";
// [END declaration]
// [START messages]
message Join {
int32 id = 1;
int32 port = 2;
string address = 3;
}