src/Commands.h

changeset 108
6409ece8297c
parent 105
6dbac3305614
child 115
9be16e1c1e44
equal deleted inserted replaced
107:55c2bcd8ed5c 108:6409ece8297c
32 #include "Main.h" 32 #include "Main.h"
33 #include "String.h" 33 #include "String.h"
34 34
35 struct CommandArgument 35 struct CommandArgument
36 { 36 {
37 EType type; 37 DataType type;
38 String name; 38 String name;
39 int defvalue; 39 int defvalue;
40 }; 40 };
41 41
42 struct CommandInfo 42 struct CommandInfo
43 { 43 {
44 String name; 44 String name;
45 int number; 45 int number;
46 int minargs; 46 int minargs;
47 EType returnvalue; 47 DataType returnvalue;
48 List<CommandArgument> args; 48 List<CommandArgument> args;
49 String origin; 49 String origin;
50 50
51 String GetSignature(); 51 String GetSignature();
52 }; 52 };

mercurial