Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
440:a750f11892ec | 445:ee41b6a017d7 |
---|---|
1 // Example IDL file for our monster's schema. | |
2 namespace Orthanc.Stone.Applications; | |
3 | |
4 union BasicCommands = {SelectTool, PanImage} | |
5 union BasicReplies = {SelectToolReply, PanImageReply, LoadFileReply } | |
6 | |
7 table SelectTool { | |
8 tool:Tool; | |
9 } | |
10 | |
11 table SelectToolReply { | |
12 } | |
13 | |
14 table PanImage { | |
15 x:int32; | |
16 y:int32; | |
17 } | |
18 | |
19 table PanImageReply { | |
20 x:int32; | |
21 y:int32; | |
22 } | |
23 | |
24 table LoadFile { | |
25 filePath:string; | |
26 } | |
27 | |
28 table LoadFileReply { | |
29 success:bool; | |
30 } | |
31 | |
32 union BasicCommand { | |
33 command: BasicCommands | |
34 } | |
35 | |
36 union BasicReply { | |
37 command: BasicReplies | |
38 } | |
39 | |
40 // root_type Monster; | |
41 |