summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.h
diff options
context:
space:
mode:
authorKitty Barnett <develop@catznip.com>2012-12-12 21:47:24 +0100
committerKitty Barnett <develop@catznip.com>2012-12-12 21:47:24 +0100
commita18ea9d92923e331c0a3e179e126659e694b1c07 (patch)
treeac82c05ccab33639a24bd661e8edf602d7912bb4 /indra/newview/llworld.h
parentef301c59832025240a20f9959008a33dc52233f9 (diff)
Clean up pending requests when regions are removed from LLWorld
Diffstat (limited to 'indra/newview/llworld.h')
-rw-r--r--indra/newview/llworld.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/newview/llworld.h b/indra/newview/llworld.h
index 72f2ac46da..d0b001ba44 100644
--- a/indra/newview/llworld.h
+++ b/indra/newview/llworld.h
@@ -150,6 +150,9 @@ public:
typedef std::list<LLViewerRegion*> region_list_t;
const region_list_t& getRegionList() const { return mActiveRegionList; }
+ typedef boost::signals2::signal<void(LLViewerRegion*)> region_remove_signal_t;
+ boost::signals2::connection setRegionRemovedCallback(const region_remove_signal_t::slot_type& cb);
+
// Returns lists of avatar IDs and their world-space positions within a given distance of a point.
// All arguments are optional. Given containers will be emptied and then filled.
// Not supplying origin or radius input returns data on all avatars in the known regions.
@@ -169,6 +172,8 @@ private:
region_list_t mVisibleRegionList;
region_list_t mCulledRegionList;
+ region_remove_signal_t mRegionRemovedSignal;
+
// Number of points on edge
static const U32 mWidth;