diff options
author | Jacek Antonelli | 2009-11-19 04:19:06 -0600 |
---|---|---|
committer | Jacek Antonelli | 2009-11-19 04:19:06 -0600 |
commit | 1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427 (patch) | |
tree | e09ccbc010e326a48fd91ba15b58afd7fb836b3f /linden/indra/newview/llwearable.h | |
parent | Fixed minor formatting issue in MANIFESTO.txt. (diff) | |
parent | Fixed CMake setting errors (diff) | |
download | meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.zip meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.gz meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.bz2 meta-impy-1d443b7a94ed6f9ef1d408caef72fcbc0b1ee427.tar.xz |
Merge remote branch 'mccabe/1.3.0-next' into next
Conflicts:
linden/indra/cmake/00-Common.cmake
linden/indra/newview/skins/default/xui/de/floater_about.xml
linden/indra/newview/skins/default/xui/fr/floater_about.xml
linden/indra/newview/skins/default/xui/ja/floater_about.xml
linden/indra/newview/skins/default/xui/ko/floater_about.xml
linden/indra/newview/skins/default/xui/zh/floater_about.xml
linden/install.xml
Diffstat (limited to 'linden/indra/newview/llwearable.h')
-rw-r--r-- | linden/indra/newview/llwearable.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/linden/indra/newview/llwearable.h b/linden/indra/newview/llwearable.h index 9986e85..6e473c1 100644 --- a/linden/indra/newview/llwearable.h +++ b/linden/indra/newview/llwearable.h | |||
@@ -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, |
@@ -47,8 +48,8 @@ class LLWearable | |||
47 | public: | 48 | public: |
48 | ~LLWearable(); | 49 | ~LLWearable(); |
49 | 50 | ||
50 | const LLAssetID& getID() { return mAssetID; } | 51 | const LLAssetID& getID() const { return mAssetID; } |
51 | const LLTransactionID& getTransactionID() { return mTransactionID; } | 52 | const LLTransactionID& getTransactionID() const { return mTransactionID; } |
52 | 53 | ||
53 | BOOL isDirty(); | 54 | BOOL isDirty(); |
54 | BOOL isOldVersion(); | 55 | BOOL isOldVersion(); |
@@ -69,16 +70,16 @@ public: | |||
69 | void setType( EWearableType type ) { mType = type; } | 70 | void setType( EWearableType type ) { mType = type; } |
70 | 71 | ||
71 | void setName( const std::string& name ) { mName = name; } | 72 | void setName( const std::string& name ) { mName = name; } |
72 | const std::string& getName() { return mName; } | 73 | const std::string& getName() const { return mName; } |
73 | 74 | ||
74 | void setDescription( const std::string& desc ) { mDescription = desc; } | 75 | void setDescription( const std::string& desc ) { mDescription = desc; } |
75 | const std::string& getDescription() { return mDescription; } | 76 | const std::string& getDescription() const { return mDescription; } |
76 | 77 | ||
77 | void setPermissions( const LLPermissions& p ) { mPermissions = p; } | 78 | void setPermissions( const LLPermissions& p ) { mPermissions = p; } |
78 | const LLPermissions& getPermissions() { return mPermissions; } | 79 | const LLPermissions& getPermissions() const { return mPermissions; } |
79 | 80 | ||
80 | void setSaleInfo( const LLSaleInfo& info ) { mSaleInfo = info; } | 81 | void setSaleInfo( const LLSaleInfo& info ) { mSaleInfo = info; } |
81 | const LLSaleInfo& getSaleInfo() { return mSaleInfo; } | 82 | const LLSaleInfo& getSaleInfo() const { return mSaleInfo; } |
82 | 83 | ||
83 | const std::string& getTypeLabel() const { return LLWearable::sTypeLabel[ mType ]; } | 84 | const std::string& getTypeLabel() const { return LLWearable::sTypeLabel[ mType ]; } |
84 | const std::string& getTypeName() const { return LLWearable::sTypeName[ mType ]; } | 85 | const std::string& getTypeName() const { return LLWearable::sTypeName[ mType ]; } |