diff options
author | Jacek Antonelli | 2008-08-15 23:44:46 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:46 -0500 |
commit | 38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4 (patch) | |
tree | adca584755d22ca041a2dbfc35d4eca01f70b32c /linden/indra/llcommon/stdenums.h | |
parent | README.txt (diff) | |
download | meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.zip meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.gz meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.bz2 meta-impy-38d6d37f2d982fa959e9e8a4a3f7e1ccfad7b5d4.tar.xz |
Second Life viewer sources 1.13.2.12
Diffstat (limited to 'linden/indra/llcommon/stdenums.h')
-rw-r--r-- | linden/indra/llcommon/stdenums.h | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/linden/indra/llcommon/stdenums.h b/linden/indra/llcommon/stdenums.h new file mode 100644 index 0000000..edd9048 --- /dev/null +++ b/linden/indra/llcommon/stdenums.h | |||
@@ -0,0 +1,134 @@ | |||
1 | /** | ||
2 | * @file stdenums.h | ||
3 | * @brief Enumerations for indra. | ||
4 | * | ||
5 | * Copyright (c) 2002-2007, Linden Research, Inc. | ||
6 | * | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
8 | * to you under the terms of the GNU General Public License, version 2.0 | ||
9 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
10 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
11 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
12 | * online at http://secondlife.com/developers/opensource/gplv2 | ||
13 | * | ||
14 | * There are special exceptions to the terms and conditions of the GPL as | ||
15 | * it is applied to this Source Code. View the full text of the exception | ||
16 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
17 | * online at http://secondlife.com/developers/opensource/flossexception | ||
18 | * | ||
19 | * By copying, modifying or distributing this software, you acknowledge | ||
20 | * that you have read and understood your obligations described above, | ||
21 | * and agree to abide by those obligations. | ||
22 | * | ||
23 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
24 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
25 | * COMPLETENESS OR PERFORMANCE. | ||
26 | */ | ||
27 | |||
28 | #ifndef LL_STDENUMS_H | ||
29 | #define LL_STDENUMS_H | ||
30 | |||
31 | //---------------------------------------------------------------------------- | ||
32 | // DEPRECATED - create new, more specific files for shared enums/constants | ||
33 | //---------------------------------------------------------------------------- | ||
34 | |||
35 | // this enum is used by the llview.h (viewer) and the llassetstorage.h (viewer and sim) | ||
36 | enum EDragAndDropType | ||
37 | { | ||
38 | DAD_NONE = 0, | ||
39 | DAD_TEXTURE = 1, | ||
40 | DAD_SOUND = 2, | ||
41 | DAD_CALLINGCARD = 3, | ||
42 | DAD_LANDMARK = 4, | ||
43 | DAD_SCRIPT = 5, | ||
44 | DAD_CLOTHING = 6, | ||
45 | DAD_OBJECT = 7, | ||
46 | DAD_NOTECARD = 8, | ||
47 | DAD_CATEGORY = 9, | ||
48 | DAD_ROOT_CATEGORY = 10, | ||
49 | DAD_BODYPART = 11, | ||
50 | DAD_ANIMATION = 12, | ||
51 | DAD_GESTURE = 13, | ||
52 | DAD_COUNT = 14, // number of types in this enum | ||
53 | }; | ||
54 | |||
55 | // Reasons for drags to be denied. | ||
56 | // ordered by priority for multi-drag | ||
57 | enum EAcceptance | ||
58 | { | ||
59 | ACCEPT_POSTPONED, // we are asynchronously determining acceptance | ||
60 | ACCEPT_NO, // Uninformative, general purpose denial. | ||
61 | ACCEPT_NO_LOCKED, // Operation would be valid, but permissions are set to disallow it. | ||
62 | ACCEPT_YES_COPY_SINGLE, // We'll take a copy of a single item | ||
63 | ACCEPT_YES_SINGLE, // Accepted. OK to drag and drop single item here. | ||
64 | ACCEPT_YES_COPY_MULTI, // We'll take a copy of multiple items | ||
65 | ACCEPT_YES_MULTI // Accepted. OK to drag and drop multiple items here. | ||
66 | }; | ||
67 | |||
68 | // This is used by the DeRezObject message to determine where to put | ||
69 | // derezed tasks. | ||
70 | enum EDeRezDestination | ||
71 | { | ||
72 | DRD_SAVE_INTO_AGENT_INVENTORY = 0, | ||
73 | DRD_ACQUIRE_TO_AGENT_INVENTORY = 1, // try to leave copy in world | ||
74 | DRD_SAVE_INTO_TASK_INVENTORY = 2, | ||
75 | DRD_ATTACHMENT = 3, | ||
76 | DRD_TAKE_INTO_AGENT_INVENTORY = 4, // delete from world | ||
77 | DRD_FORCE_TO_GOD_INVENTORY = 5, // force take copy | ||
78 | DRD_TRASH = 6, | ||
79 | DRD_ATTACHMENT_TO_INV = 7, | ||
80 | DRD_ATTACHMENT_EXISTS = 8, | ||
81 | DRD_RETURN_TO_OWNER = 9, // back to owner's inventory | ||
82 | DRD_RETURN_TO_LAST_OWNER = 10, // deeded object back to last owner's inventory | ||
83 | |||
84 | DRD_COUNT = 11 | ||
85 | }; | ||
86 | |||
87 | |||
88 | // This is used by the return to owner code to determine the reason | ||
89 | // that this object is being returned. | ||
90 | enum EReturnReason | ||
91 | { | ||
92 | RR_GENERIC = 0, | ||
93 | RR_SANDBOX = 1, | ||
94 | RR_PARCEL_OWNER = 2, | ||
95 | RR_PARCEL_AUTO = 3, | ||
96 | RR_PARCEL_FULL = 4, | ||
97 | RR_OFF_WORLD = 5, | ||
98 | |||
99 | RR_COUNT = 6 | ||
100 | }; | ||
101 | |||
102 | // This is used for filling in the first byte of the ExtraID field of | ||
103 | // the ObjectProperties message. | ||
104 | enum EObjectPropertiesExtraID | ||
105 | { | ||
106 | OPEID_NONE = 0, | ||
107 | OPEID_ASSET_ID = 1, | ||
108 | OPEID_FROM_TASK_ID = 2, | ||
109 | |||
110 | OPEID_COUNT = 3 | ||
111 | }; | ||
112 | |||
113 | enum EAddPosition | ||
114 | { | ||
115 | ADD_TOP, | ||
116 | ADD_SORTED, | ||
117 | ADD_BOTTOM | ||
118 | }; | ||
119 | |||
120 | enum LLGroupChange | ||
121 | { | ||
122 | GC_PROPERTIES, | ||
123 | GC_MEMBER_DATA, | ||
124 | GC_ROLE_DATA, | ||
125 | GC_ROLE_MEMBER_DATA, | ||
126 | GC_TITLES, | ||
127 | GC_ALL | ||
128 | }; | ||
129 | |||
130 | //---------------------------------------------------------------------------- | ||
131 | // DEPRECATED - create new, more specific files for shared enums/constants | ||
132 | //---------------------------------------------------------------------------- | ||
133 | |||
134 | #endif | ||