~ubuntu-branches/ubuntu/breezy/garlic/breezy

« back to all changes in this revision

Viewing changes to commands.h

  • Committer: Bazaar Package Importer
  • Author(s): zhaoway
  • Date: 2001-04-24 07:09:13 UTC
  • Revision ID: james.westby@ubuntu.com-20010424070913-uzpupnwdfhmliebz
Tags: upstream-1.1
ImportĀ upstreamĀ versionĀ 1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Command codes - return values from ExecuteCommand_ () function. */
 
2
 
 
3
 
 
4
/* Positive (success) codes: */
 
5
 
 
6
#define COMMAND_QUIT           1
 
7
#define COMMAND_IGNORE         2
 
8
#define COMMAND_LOAD           3
 
9
#define COMMAND_DISCARD        4
 
10
#define COMMAND_CATCH          5
 
11
#define COMMAND_SELECT         6
 
12
#define COMMAND_SHOW           7
 
13
#define COMMAND_HIDE           8
 
14
#define COMMAND_COLOR          9
 
15
#define COMMAND_ATOMS         10
 
16
#define COMMAND_BONDS         11
 
17
#define COMMAND_CONTINUE      12
 
18
#define COMMAND_PAUSE         13
 
19
#define COMMAND_EXECUTE       14
 
20
#define COMMAND_ROTATE        15
 
21
#define COMMAND_TRANSLATE     16
 
22
#define COMMAND_SLAB          17
 
23
#define COMMAND_FADING        18
 
24
#define COMMAND_LOG           19
 
25
#define COMMAND_FOREGROUND    20
 
26
#define COMMAND_BACKGROUND    21
 
27
#define COMMAND_TBG           22
 
28
#define COMMAND_TFG           23
 
29
#define COMMAND_FONT          24
 
30
#define COMMAND_BACKBONE      25
 
31
#define COMMAND_HYBONDS       26
 
32
#define COMMAND_STEREO        27
 
33
#define COMMAND_MONO          28
 
34
#define COMMAND_POSITION      29
 
35
#define COMMAND_TITLE         30
 
36
#define COMMAND_LABELS        31
 
37
#define COMMAND_REGISTER      32
 
38
#define COMMAND_CENTER        33
 
39
#define COMMAND_SAVE          34
 
40
#define COMMAND_TAG           35
 
41
#define COMMAND_SEQUENCE      36
 
42
#define COMMAND_RAMACHANDRAN  37
 
43
#define COMMAND_WHEEL         38
 
44
#define COMMAND_ANGLE         39
 
45
#define COMMAND_RADIUS        40
 
46
#define COMMAND_VENN          41
 
47
#define COMMAND_DISULFIDE     42
 
48
#define COMMAND_WINDOW        43
 
49
#define COMMAND_PLOT          44
 
50
#define COMMAND_MOVE          45
 
51
#define COMMAND_PLANE         46
 
52
#define COMMAND_SCALE         47
 
53
#define COMMAND_PATTERN       48
 
54
#define COMMAND_DOCK          49
 
55
#define COMMAND_COMPARE       50
 
56
#define COMMAND_NEIGHBORHOOD  51
 
57
 
 
58
 
 
59
/* Negative (error) codes: */
 
60
 
 
61
#define ERROR_UNREC_COMM      -1
 
62
#define ERROR_LOAD            -2
 
63
#define ERROR_NO_FILE_NAME    -3
 
64
#define ERROR_OPEN_FAILURE    -4
 
65
#define ERROR_NO_ID           -5
 
66
#define ERROR_BAD_ID          -6
 
67
#define ERROR_SELECT          -7
 
68
#define ERROR_NO_SCHEME       -8
 
69
#define ERROR_BAD_SCHEME      -9
 
70
#define ERROR_NO_ATOM_STYLE  -10
 
71
#define ERROR_ATOM_STYLE     -11
 
72
#define ERROR_NO_BOND_STYLE  -12
 
73
#define ERROR_BOND_STYLE     -13
 
74
#define ERROR_EXECUTE        -14
 
75
#define ERROR_NO_AXIS        -15
 
76
#define ERROR_BAD_AXIS       -16
 
77
#define ERROR_NO_ANGLE       -17
 
78
#define ERROR_NO_SHIFT       -18
 
79
#define ERROR_BAD_SURFACE    -19
 
80
#define ERROR_SLAB           -20
 
81
#define ERROR_FADING         -21
 
82
#define ERROR_LOG            -22
 
83
#define ERROR_FOREGROUND     -23
 
84
#define ERROR_BACKGROUND     -24
 
85
#define ERROR_NO_COLOR       -25
 
86
#define ERROR_TBG            -26
 
87
#define ERROR_TFG            -27
 
88
#define ERROR_FONT           -28
 
89
#define ERROR_NO_FONT_NAME   -29
 
90
#define ERROR_BACKBONE       -30
 
91
#define ERROR_HYBONDS        -31
 
92
#define ERROR_STEREO         -32
 
93
#define ERROR_MONO           -33
 
94
#define ERROR_POSITION       -34
 
95
#define ERROR_TITLE          -35
 
96
#define ERROR_LABELS         -36
 
97
#define ERROR_CENTER         -37
 
98
#define ERROR_SAVE           -38
 
99
#define ERROR_TAG            -39
 
100
#define ERROR_SEQUENCE       -40
 
101
#define ERROR_RAMACHANDRAN   -41
 
102
#define ERROR_WHEEL          -42
 
103
#define ERROR_ANGLE          -43
 
104
#define ERROR_RADIUS         -44
 
105
#define ERROR_VENN           -45
 
106
#define ERROR_WINDOW         -46
 
107
#define ERROR_PLOT           -47
 
108
#define ERROR_MOVE           -48
 
109
#define ERROR_PLANE          -49
 
110
#define ERROR_SCALE          -50
 
111
#define ERROR_PATTERN        -51
 
112
#define ERROR_DOCK           -52
 
113
#define ERROR_COMPARE        -53
 
114
#define ERROR_NEIGHBORHOOD   -54
 
115
 
 
116