From 798d367d54a6c6379ad355bd8345fa40e31e7fe9 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Sat, 6 Sep 2008 18:24:57 -0500 Subject: Second Life viewer sources 1.21.0-RC --- linden/indra/newview/lltracker.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'linden/indra/newview/lltracker.h') diff --git a/linden/indra/newview/lltracker.h b/linden/indra/newview/lltracker.h index 6d45a8d..756bc18 100644 --- a/linden/indra/newview/lltracker.h +++ b/linden/indra/newview/lltracker.h @@ -87,15 +87,15 @@ public: static const LLUUID& getTrackedLandmarkAssetID() { return instance()->mTrackedLandmarkAssetID; } static const LLUUID& getTrackedLandmarkItemID() { return instance()->mTrackedLandmarkItemID; } - static void trackAvatar( const LLUUID& avatar_id, const LLString& name ); - static void trackLandmark( const LLUUID& landmark_asset_id, const LLUUID& landmark_item_id , const LLString& name); - static void trackLocation(const LLVector3d& pos, const LLString& full_name, const LLString& tooltip, ETrackingLocationType location_type = LOCATION_NOTHING); + static void trackAvatar( const LLUUID& avatar_id, const std::string& name ); + static void trackLandmark( const LLUUID& landmark_asset_id, const LLUUID& landmark_item_id , const std::string& name); + static void trackLocation(const LLVector3d& pos, const std::string& full_name, const std::string& tooltip, ETrackingLocationType location_type = LOCATION_NOTHING); // returns global pos of tracked thing static LLVector3d getTrackedPositionGlobal(); static BOOL hasLandmarkPosition(); - static const LLString& getTrackedLocationName(); + static const std::string& getTrackedLocationName(); static void drawHUDArrow(); @@ -107,8 +107,8 @@ public: static LLTracker* sTrackerp; static BOOL sCheesyBeacon; - static const LLString& getLabel() { return instance()->mLabel; } - static const LLString& getToolTip() { return instance()->mToolTip; } + static const std::string& getLabel() { return instance()->mLabel; } + static const std::string& getToolTip() { return instance()->mToolTip; } protected: LLTracker(); ~LLTracker(); @@ -137,10 +137,10 @@ protected: LLVector3d mTrackedPositionGlobal; - LLString mLabel; - LLString mToolTip; + std::string mLabel; + std::string mToolTip; - LLString mTrackedLandmarkName; + std::string mTrackedLandmarkName; LLUUID mTrackedLandmarkAssetID; LLUUID mTrackedLandmarkItemID; LLDynamicArray mLandmarkAssetIDList; @@ -149,7 +149,7 @@ protected: BOOL mHasLandmarkPosition; BOOL mLandmarkHasBeenVisited; - LLString mTrackedLocationName; + std::string mTrackedLocationName; BOOL mIsTrackingLocation; BOOL mHasReachedLocation; }; -- cgit v1.1