Mercurial > hg > orthanc-stone
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Resources/CommandTool/flatc-tests/basic/BasicCommands.fbs Wed Jan 16 16:24:45 2019 +0100 @@ -0,0 +1,41 @@ +// 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; +