aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwearable.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llwearable.h')
-rw-r--r--linden/indra/newview/llwearable.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/linden/indra/newview/llwearable.h b/linden/indra/newview/llwearable.h
index ea16d20..252f80c 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
47public: 48public:
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();
@@ -65,16 +66,16 @@ public:
65 void setType( EWearableType type ) { mType = type; } 66 void setType( EWearableType type ) { mType = type; }
66 67
67 void setName( const std::string& name ) { mName = name; } 68 void setName( const std::string& name ) { mName = name; }
68 const std::string& getName() { return mName; } 69 const std::string& getName() const { return mName; }
69 70
70 void setDescription( const std::string& desc ) { mDescription = desc; } 71 void setDescription( const std::string& desc ) { mDescription = desc; }
71 const std::string& getDescription() { return mDescription; } 72 const std::string& getDescription() const { return mDescription; }
72 73
73 void setPermissions( const LLPermissions& p ) { mPermissions = p; } 74 void setPermissions( const LLPermissions& p ) { mPermissions = p; }
74 const LLPermissions& getPermissions() { return mPermissions; } 75 const LLPermissions& getPermissions() const { return mPermissions; }
75 76
76 void setSaleInfo( const LLSaleInfo& info ) { mSaleInfo = info; } 77 void setSaleInfo( const LLSaleInfo& info ) { mSaleInfo = info; }
77 const LLSaleInfo& getSaleInfo() { return mSaleInfo; } 78 const LLSaleInfo& getSaleInfo() const { return mSaleInfo; }
78 79
79 const std::string& getTypeLabel() const { return LLWearable::sTypeLabel[ mType ]; } 80 const std::string& getTypeLabel() const { return LLWearable::sTypeLabel[ mType ]; }
80 const std::string& getTypeName() const { return LLWearable::sTypeName[ mType ]; } 81 const std::string& getTypeName() const { return LLWearable::sTypeName[ mType ]; }