445
|
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
|