diff options
author | Jacek Antonelli | 2009-04-30 13:04:20 -0500 |
---|---|---|
committer | Jacek Antonelli | 2009-04-30 13:07:16 -0500 |
commit | ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e (patch) | |
tree | 8348301d0ac44a524f1819b777686bf086907d76 /linden/indra/newview/llgenepool.h | |
parent | Second Life viewer sources 1.22.11 (diff) | |
download | meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.zip meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.gz meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.bz2 meta-impy-ca8149ca6d157eb4b5fc8ba0e5ba3a6e56f72e7e.tar.xz |
Second Life viewer sources 1.23.0-RC
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llmessage/llstoredmessage.h (renamed from linden/indra/newview/llgenepool.h) | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/linden/indra/newview/llgenepool.h b/linden/indra/llmessage/llstoredmessage.h index e4200eb..5069c2c 100644 --- a/linden/indra/newview/llgenepool.h +++ b/linden/indra/llmessage/llstoredmessage.h | |||
@@ -1,10 +1,10 @@ | |||
1 | /** | 1 | /** |
2 | * @file llgenepool.h | 2 | * @file |
3 | * @brief LLGenePool class definition | 3 | * @brief |
4 | * | 4 | * |
5 | * $LicenseInfo:firstyear=2002&license=viewergpl$ | 5 | * $LicenseInfo:firstyear=2009&license=viewergpl$ |
6 | * | 6 | * |
7 | * Copyright (c) 2002-2009, Linden Research, Inc. | 7 | * Copyright (c) 2009, Linden Research, Inc. |
8 | * | 8 | * |
9 | * Second Life Viewer Source Code | 9 | * Second Life Viewer Source Code |
10 | * The source code in this file ("Source Code") is provided by Linden Lab | 10 | * The source code in this file ("Source Code") is provided by Linden Lab |
@@ -17,7 +17,8 @@ | |||
17 | * There are special exceptions to the terms and conditions of the GPL as | 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 | 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 | 19 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
20 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception | 20 | * online at |
21 | * http://secondlifegrid.net/programs/open_source/licensing/flossexception | ||
21 | * | 22 | * |
22 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
23 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -29,32 +30,29 @@ | |||
29 | * $/LicenseInfo$ | 30 | * $/LicenseInfo$ |
30 | */ | 31 | */ |
31 | 32 | ||
32 | #ifndef LL_LLGENEPOOL_H | 33 | #ifndef LL_STOREDMESSAGE_H |
33 | #define LL_LLGENEPOOL_H | 34 | #define LL_STOREDMESSAGE_H |
34 | 35 | ||
35 | #include "lldarray.h" | 36 | #include "linden_common.h" |
36 | #include "llwearable.h" | 37 | #include "llsd.h" |
38 | #include <boost/shared_ptr.hpp> | ||
39 | #include <string> | ||
37 | 40 | ||
38 | class LLAppearance; | ||
39 | class LLXmlTreeNode; | ||
40 | 41 | ||
41 | class LLGenePool | 42 | class LLMessageSystem; |
43 | |||
44 | class LLStoredMessage | ||
42 | { | 45 | { |
43 | public: | 46 | public: |
44 | LLGenePool(); | 47 | LLStoredMessage(const std::string& name, const LLSD& message); |
45 | ~LLGenePool(); | 48 | private: |
46 | 49 | friend class LLMessageSystem; | |
47 | void spawn( EWearableType type ); | ||
48 | |||
49 | protected: | ||
50 | BOOL load(); | ||
51 | BOOL loadNodeArchetype( LLXmlTreeNode* node ); | ||
52 | |||
53 | protected: | ||
54 | BOOL mLoaded; | ||
55 | LLDynamicArray< LLAppearance* > mArchetypes; | ||
56 | 50 | ||
51 | LLSD mMessage; | ||
52 | std::string mName; | ||
57 | }; | 53 | }; |
58 | 54 | ||
59 | #endif // LL_LLGENEPOOL_H | 55 | typedef boost::shared_ptr<LLStoredMessage> LLStoredMessagePtr; |
56 | |||
60 | 57 | ||
58 | #endif // LL_STOREDMESSAGE_H | ||