view Resources/CommandTool/flatc-tests/basic/BasicCommands.fbs @ 445:ee41b6a017d7 bgo-commands-codegen

dumb change
author bgo-osimis
date Wed, 16 Jan 2019 16:24:45 +0100
parents
children
line wrap: on
line source

// Example IDL file for our monster's schema.
namespace Orthanc.Stone.Applications;

union BasicCommands = {SelectTool, PanImage}
union BasicReplies = {SelectToolReply, PanImageReply, LoadFileReply }

table SelectTool {
  tool:Tool;
}

table SelectToolReply {
}

table PanImage {
  x:int32;
  y:int32;
}

table PanImageReply {
  x:int32;
  y:int32;
}

table LoadFile {
  filePath:string;
}

table LoadFileReply {
  success:bool;
}

union BasicCommand {
  command: BasicCommands
}

union BasicReply {
  command: BasicReplies
}

// root_type Monster;