Skip to content
Snippets Groups Projects
Commit 0e346960 authored by Oz Linden's avatar Oz Linden
Browse files

add LLAgent::removeRegionChangedCallback

parent fcc885d4
No related branches found
No related tags found
No related merge requests found
......@@ -981,6 +981,10 @@ boost::signals2::connection LLAgent::addRegionChangedCallback(region_changed_cal
return mRegionChangedSignal.connect(cb);
}
void LLAgent::removeRegionChangedCallback(boost::signals2::connection callback)
{
mRegionChangedSignal.disconnect(callback);
}
//-----------------------------------------------------------------------------
// inPrelude()
......
......@@ -273,6 +273,7 @@ class LLAgent : public LLOldEvents::LLObservable
*/
typedef boost::function<void()> region_changed_callback_t;
boost::signals2::connection addRegionChangedCallback(region_changed_callback_t);
void removeRegionChangedCallback(boost::signals2::connection callback);
private:
LLViewerRegion *mRegionp;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment