diff options
author | Jacek Antonelli | 2008-12-08 01:00:18 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-08 01:14:27 -0600 |
commit | 9626acce584391fc90d147310917a1569610d224 (patch) | |
tree | 6d536f8fc36509a46e188b0f996254e583fbdf18 /linden/indra/llinventory | |
parent | Added LLInventoryItem::mNInventoryType (new type) field. (diff) | |
download | meta-impy-9626acce584391fc90d147310917a1569610d224.zip meta-impy-9626acce584391fc90d147310917a1569610d224.tar.gz meta-impy-9626acce584391fc90d147310917a1569610d224.tar.bz2 meta-impy-9626acce584391fc90d147310917a1569610d224.tar.xz |
Moved enum EWearableType to its own file.
Was in newview/llwearable.h, now in llinventory/llwearabletype.h.
This allows it to be used in llinventory code.
Diffstat (limited to 'linden/indra/llinventory')
-rw-r--r-- | linden/indra/llinventory/llwearabletype.h | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/linden/indra/llinventory/llwearabletype.h b/linden/indra/llinventory/llwearabletype.h new file mode 100644 index 0000000..b0a40b2 --- /dev/null +++ b/linden/indra/llinventory/llwearabletype.h | |||
@@ -0,0 +1,54 @@ | |||
1 | /** | ||
2 | * @file llwearable.h | ||
3 | * @brief EWearableType enum definition | ||
4 | * | ||
5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | ||
6 | * | ||
7 | * Copyright (c) 2002-2008, Linden Research, Inc. | ||
8 | * | ||
9 | * Second Life Viewer Source Code | ||
10 | * The source code in this file ("Source Code") is provided by Linden Lab | ||
11 | * to you under the terms of the GNU General Public License, version 2.0 | ||
12 | * ("GPL"), unless you have obtained a separate licensing agreement | ||
13 | * ("Other License"), formally executed by you and Linden Lab. Terms of | ||
14 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | ||
15 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 | ||
16 | * | ||
17 | * There are special exceptions to the terms and conditions of the GPL as | ||
18 | * it is applied to this Source Code. View the full text of the exception | ||
19 | * in the file doc/FLOSS-exception.txt in this software distribution, or | ||
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | ||
22 | * By copying, modifying or distributing this software, you acknowledge | ||
23 | * that you have read and understood your obligations described above, | ||
24 | * and agree to abide by those obligations. | ||
25 | * | ||
26 | * ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO | ||
27 | * WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY, | ||
28 | * COMPLETENESS OR PERFORMANCE. | ||
29 | * $/LicenseInfo$ | ||
30 | */ | ||
31 | |||
32 | #ifndef LL_LLWEARABLETYPE_H | ||
33 | #define LL_LLWEARABLETYPE_H | ||
34 | |||
35 | enum EWearableType // If you change this, update LLWearable::getTypeName(), getTypeLabel(), and LLVOAvatar::getTEWearableType() | ||
36 | { | ||
37 | WT_SHAPE = 0, | ||
38 | WT_SKIN = 1, | ||
39 | WT_HAIR = 2, | ||
40 | WT_EYES = 3, | ||
41 | WT_SHIRT = 4, | ||
42 | WT_PANTS = 5, | ||
43 | WT_SHOES = 6, | ||
44 | WT_SOCKS = 7, | ||
45 | WT_JACKET = 8, | ||
46 | WT_GLOVES = 9, | ||
47 | WT_UNDERSHIRT = 10, | ||
48 | WT_UNDERPANTS = 11, | ||
49 | WT_SKIRT = 12, | ||
50 | WT_COUNT = 13, | ||
51 | WT_INVALID = 255 | ||
52 | }; | ||
53 | |||
54 | #endif // LL_LLWEARABLETYPE_H | ||