diff options
| author | Oz Linden <oz@lindenlab.com> | 2014-05-07 15:41:27 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2014-05-07 15:41:27 -0400 |
| commit | 618a409e13f11ce9ded294936e1f7c1d3d1e1efc (patch) | |
| tree | 8d579722688fabf5f7407738278275be82f7a592 /indra/llui/llnotifications.h | |
| parent | 1e851a2eb70e5f6b12a47c382efb3b9b17674993 (diff) | |
| parent | b4796595f27f2fdaa71e451aea86bfa386a1f4f7 (diff) | |
merge changes for DRTVWR-363
Diffstat (limited to 'indra/llui/llnotifications.h')
| -rwxr-xr-x | indra/llui/llnotifications.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llui/llnotifications.h b/indra/llui/llnotifications.h index b0e8553a49..3cf432f330 100755 --- a/indra/llui/llnotifications.h +++ b/indra/llui/llnotifications.h @@ -88,6 +88,7 @@ #include <boost/enable_shared_from_this.hpp> #include <boost/type_traits.hpp> #include <boost/signals2.hpp> +#include <boost/range.hpp> #include "llevents.h" #include "llfunctorregistry.h" @@ -840,6 +841,11 @@ public: typedef LLNotificationSet::iterator Iterator; std::string getName() const { return mName; } + typedef std::vector<std::string>::const_iterator parents_iter; + boost::iterator_range<parents_iter> getParents() const + { + return boost::iterator_range<parents_iter>(mParents); + } void connectToChannel(const std::string& channel_name); @@ -854,7 +860,7 @@ public: private: std::string mName; - std::string mParent; + std::vector<std::string> mParents; }; // An interface class to provide a clean linker seam to the LLNotifications class. |
