diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-05-11 15:08:29 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-05-11 15:08:29 -0400 |
commit | adc0aba2dd206e76a41298727794ab80754d439b (patch) | |
tree | 70b1b2d37ad21ec074ab939ef0fb4dd8e7b23ae6 /indra/newview/llwearable.h | |
parent | 5490d4f56688597dfcd6077bc7e0f5f0c9053ae4 (diff) |
EXT-7305 : FIXED : Changed LLWearableDictionary to LLWearableType
Refactored LLWearableDictionary to look more like LLAssetType/LLFolderType/etc. in terms of code design. This required a lot of superficial changes across many files. Overall functionality has not changed.
Diffstat (limited to 'indra/newview/llwearable.h')
-rw-r--r-- | indra/newview/llwearable.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llwearable.h b/indra/newview/llwearable.h index 7bd5305079..dcc70cbda7 100644 --- a/indra/newview/llwearable.h +++ b/indra/newview/llwearable.h @@ -68,8 +68,8 @@ public: const LLUUID& getItemID() const; const LLAssetID& getAssetID() const { return mAssetID; } const LLTransactionID& getTransactionID() const { return mTransactionID; } - EWearableType getType() const { return mType; } - void setType(EWearableType type); + LLWearableType::EType getType() const { return mType; } + void setType(LLWearableType::EType type); const std::string& getName() const { return mName; } void setName(const std::string& name) { mName = name; } const std::string& getDescription() const { return mDescription; } @@ -93,7 +93,7 @@ public: void writeToAvatar(); void removeFromAvatar( BOOL upload_bake ) { LLWearable::removeFromAvatar( mType, upload_bake ); } - static void removeFromAvatar( EWearableType type, BOOL upload_bake ); + static void removeFromAvatar( LLWearableType::EType type, BOOL upload_bake ); BOOL exportFile(LLFILE* file) const; BOOL importFile(LLFILE* file); @@ -156,7 +156,7 @@ private: LLSaleInfo mSaleInfo; LLAssetID mAssetID; LLTransactionID mTransactionID; - EWearableType mType; + LLWearableType::EType mType; typedef std::map<S32, F32> param_map_t; param_map_t mSavedVisualParamMap; // last saved version of visual params |