summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpathfindingobject.h')
-rw-r--r--indra/newview/llpathfindingobject.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llpathfindingobject.h b/indra/newview/llpathfindingobject.h
index 880a3a6864..924ea3f298 100644
--- a/indra/newview/llpathfindingobject.h
+++ b/indra/newview/llpathfindingobject.h
@@ -53,7 +53,8 @@ public:
inline const LLUUID& getUUID() const {return mUUID;};
inline const std::string& getName() const {return mName;};
inline const std::string& getDescription() const {return mDescription;};
- inline BOOL hasOwnerName() const {return mOwnerUUID.notNull();};
+ inline BOOL hasOwner() const {return mOwnerUUID.notNull();};
+ inline bool hasOwnerName() const {return mHasOwnerName;};
std::string getOwnerName() const;
inline const LLVector3& getLocation() const {return mLocation;};
@@ -62,10 +63,14 @@ protected:
private:
void parseObjectData(const LLSD &pObjectData);
+ void fetchOwnerName();
+ void handleAvatarNameFetch(const LLUUID &pOwnerUUID, const LLAvatarName &pAvatarName);
+
LLUUID mUUID;
std::string mName;
std::string mDescription;
LLUUID mOwnerUUID;
+ bool mHasOwnerName;
LLAvatarName mOwnerName;
LLVector3 mLocation;
};