summaryrefslogtreecommitdiff
path: root/indra/newview/lloutfitobserver.h
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-06-08 16:48:47 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-06-08 16:48:47 +0100
commit9d0a5c6e914f07c0ce3653a8196cb12014405c61 (patch)
tree32cb5f6c4c3d96ea4af6d98b0442ab1c40bd3341 /indra/newview/lloutfitobserver.h
parent2f3019d670e8310f00fe4284a7fc09ee59c0f9bf (diff)
parentd17b616b1c94c136254de0bee039cdc87979b44e (diff)
merge from PE's viewer-release
Diffstat (limited to 'indra/newview/lloutfitobserver.h')
-rw-r--r--indra/newview/lloutfitobserver.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/indra/newview/lloutfitobserver.h b/indra/newview/lloutfitobserver.h
index 4cb40ead15..a4b5fbe04a 100644
--- a/indra/newview/lloutfitobserver.h
+++ b/indra/newview/lloutfitobserver.h
@@ -48,6 +48,8 @@ public:
virtual void changed(U32 mask);
+ void notifyOutfitLockChanged() { mOutfitLockChanged(); }
+
typedef boost::signals2::signal<void (void)> signal_t;
void addBOFReplacedCallback(const signal_t::slot_type& cb) { mBOFReplaced.connect(cb); }
@@ -56,6 +58,10 @@ public:
void addCOFChangedCallback(const signal_t::slot_type& cb) { mCOFChanged.connect(cb); }
+ void addCOFSavedCallback(const signal_t::slot_type& cb) { mCOFSaved.connect(cb); }
+
+ void addOutfitLockChangedCallback(const signal_t::slot_type& cb) { mOutfitLockChanged.connect(cb); }
+
protected:
LLOutfitObserver();
@@ -73,10 +79,18 @@ protected:
S32 mBaseOutfitLastVersion;
+ bool mLastOutfitDirtiness;
+
private:
signal_t mBOFReplaced;
signal_t mBOFChanged;
signal_t mCOFChanged;
+ signal_t mCOFSaved;
+
+ /**
+ * Signal for changing state of outfit lock.
+ */
+ signal_t mOutfitLockChanged;
};
#endif /* LL_OUTFITOBSERVER_H */