Files
ResInsight/ApplicationCode/GrpcInterface/GrpcProtos/App.proto
Gaute Lindkvist 1a337ea0f8 #4474 Add command for getting runtime info (i.e. console/gui)
* Also fixed up some tests when running in console
2019-06-05 15:45:22 +02:00

28 lines
452 B
Protocol Buffer

syntax = "proto3";
package rips;
import "Empty.proto";
service App {
rpc GetVersion(Empty) returns (Version) {}
rpc Exit(Empty) returns (Empty) {}
rpc GetRuntimeInfo(Empty) returns (RuntimeInfo) {}
}
message Version {
int32 major_version = 1;
int32 minor_version = 2;
int32 patch_version = 3;
}
enum ApplicationTypeEnum
{
GUI_APPLICATION = 0;
CONSOLE_APPLICATION = 1;
}
message RuntimeInfo
{
ApplicationTypeEnum app_type = 1;
}