summaryrefslogtreecommitdiff
path: root/indra/llinventory/llparcel.h
diff options
context:
space:
mode:
authorChristian Goetze <cg@lindenlab.com>2007-10-10 00:01:43 +0000
committerChristian Goetze <cg@lindenlab.com>2007-10-10 00:01:43 +0000
commit5ec8bbbe2244ea70d8aa74b5c572351632699425 (patch)
tree12a4e92720c531105a21ef4f9f363b8572d72a3a /indra/llinventory/llparcel.h
parentb3b62c3b9ef32c4dbcae51cd3ef582734d5717bb (diff)
svn merge -r71238:71367 svn+ssh://svn/svn/linden/branches/maint-ui-qa3
Diffstat (limited to 'indra/llinventory/llparcel.h')
-rw-r--r--indra/llinventory/llparcel.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/indra/llinventory/llparcel.h b/indra/llinventory/llparcel.h
index efabde3358..9c6300811b 100644
--- a/indra/llinventory/llparcel.h
+++ b/indra/llinventory/llparcel.h
@@ -203,10 +203,10 @@ public:
// MANIPULATORS
void generateNewID() { mID.generate(); }
- void setName(const char* name);
- void setDesc(const char* desc);
- void setMusicURL(const char* url);
- void setMediaURL(const char* url);
+ void setName(const LLString& name);
+ void setDesc(const LLString& desc);
+ void setMusicURL(const LLString& url);
+ void setMediaURL(const LLString& url);
void setMediaID(const LLUUID& id) { mMediaID = id; }
void setMediaAutoScale ( U8 flagIn ) { mMediaAutoScale = flagIn; }
virtual void setLocalID(S32 local_id);
@@ -256,7 +256,7 @@ public:
void setDrawDistance(F32 dist) { mDrawDistance = dist; }
void setSalePrice(S32 price) { mSalePrice = price; }
void setGroupID(const LLUUID& id) { mGroupID = id; }
- //void setGroupName(const char* s) { mGroupName.assign(s); }
+ //void setGroupName(const LLString& s) { mGroupName.assign(s); }
void setPassPrice(S32 price) { mPassPrice = price; }
void setPassHours(F32 hours) { mPassHours = hours; }
@@ -292,10 +292,10 @@ public:
// ACCESSORS
const LLUUID& getID() const { return mID; }
- const char* getName() const { return mName.c_str(); }
- const char* getDesc() const { return mDesc.c_str(); }
- const char* getMusicURL() const { return mMusicURL.c_str(); }
- const char* getMediaURL() const { return mMediaURL.c_str(); }
+ const LLString& getName() const { return mName; }
+ const LLString& getDesc() const { return mDesc; }
+ const LLString& getMusicURL() const { return mMusicURL; }
+ const LLString& getMediaURL() const { return mMediaURL; }
const LLUUID& getMediaID() const { return mMediaID; }
U8 getMediaAutoScale() const { return mMediaAutoScale; }
S32 getLocalID() const { return mLocalID; }
@@ -567,10 +567,10 @@ protected:
F32 mDrawDistance;
U32 mParcelFlags;
S32 mSalePrice; // linden dollars
- std::string mName;
- std::string mDesc;
- std::string mMusicURL;
- std::string mMediaURL;
+ LLString mName;
+ LLString mDesc;
+ LLString mMusicURL;
+ LLString mMediaURL;
U8 mMediaAutoScale;
LLUUID mMediaID;
S32 mPassPrice;