Skip to content

Commit

Permalink
using index field for mklauncher
Browse files Browse the repository at this point in the history
  • Loading branch information
machinekoder committed Apr 23, 2015
1 parent 18e2954 commit 3a015e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proto/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ message Launcher {

option (nanopb_msgopt).msgid = 203;

required string name = 1; // unique key
optional string title = 2; // the visible title
required int32 index = 1; // index is necessary to access repeated
optional string name = 2; // visible name
optional string description = 3; // description of the config
optional File image = 4; // image representing the configuration
optional bool running = 5; // indicates whether the config is running or not
Expand Down
1 change: 1 addition & 0 deletions proto/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ message Container {
// a MT_LAUNCHER_FULL_UPDATE
// or a MT_LAUNCHER_INCREMENTAL_UPDATE message
repeated Launcher launcher = 130 [(nanopb).type = FT_IGNORE];
optional int32 index = 131 [(nanopb).type = FT_IGNORE];

// // miscellanous typed objects
// optional string ascii = 140;
Expand Down

0 comments on commit 3a015e3

Please sign in to comment.