summaryrefslogtreecommitdiff
path: root/indra/llui/llnotifications.h
diff options
context:
space:
mode:
authorRicky Curtice <kf6kjg+hg@gmail.com>2014-06-05 06:31:30 -0700
committerRicky Curtice <kf6kjg+hg@gmail.com>2014-06-05 06:31:30 -0700
commit98720c3cec8f1ab4af5e66f9d9b7bb9c277b78f1 (patch)
treeef36b7031df4c96eab6b5f3343325f662382932c /indra/llui/llnotifications.h
parent644ca6a0f8a7759119814f88df93b8e838321a12 (diff)
parent15d8f355072f2184f046a7aafb1b5c606fe97880 (diff)
Merge
Diffstat (limited to 'indra/llui/llnotifications.h')
-rwxr-xr-xindra/llui/llnotifications.h8
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.