// GENERATED FILE - DO NOT EDIT.
// Produced by clang-rpc-gen from an annotated C++ header. Re-run codegen
// instead of hand-editing this file; it will be overwritten on the next build.
syntax = "proto3";

package workrave.test;



// canonical_name: "test_mode"

enum TestMode {


  // canonical_name: "idle"

  TEST_MODE_IDLE = 0;


  // canonical_name: "active"

  TEST_MODE_ACTIVE = 1;

}





message PingRequest {

  string message = 1;

}

message PingResponse {

  string result = 1;

}


message GetModeRequest {

}

message GetModeResponse {

  TestMode result = 1;

}


message SetModeRequest {

  TestMode mode = 1;

}

message SetModeResponse {

}



message ModeChangedRequest {

}

message ModeChangedEvent {

  TestMode value = 1;

}


service DBusFixtureService {

  rpc Ping(PingRequest) returns (PingResponse);

  rpc GetMode(GetModeRequest) returns (GetModeResponse);

  rpc SetMode(SetModeRequest) returns (SetModeResponse);


  rpc ModeChanged(ModeChangedRequest) returns (stream ModeChangedEvent);

}
