summaryrefslogtreecommitdiff
path: root/src/lib/playlist.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-24 11:12:11 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-24 11:12:11 +0100
commit05bafe7346705a8a3f6bbae17956c54ef3295bcc (patch)
tree970e223e618067adea9419d2211594d334137987 /src/lib/playlist.h
parentf3fc4b2a63ccc0a4da61371b3c2b10c8e9b8247d (diff)
Only emit Changed when things are added to or removed from the playlist.
Diffstat (limited to 'src/lib/playlist.h')
-rw-r--r--src/lib/playlist.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h
index effc52101..12380696b 100644
--- a/src/lib/playlist.h
+++ b/src/lib/playlist.h
@@ -82,8 +82,12 @@ public:
void repeat (ContentList, int);
+ /** Emitted when content has been added to or removed from the playlist */
mutable boost::signals2::signal<void ()> Changed;
- /** Third parameter is true if signals are currently being emitted frequently */
+ /** Emitted when something about a piece of our content has changed;
+ * these emissions include when the position of the content changes.
+ * Third parameter is true if signals are currently being emitted frequently.
+ */
mutable boost::signals2::signal<void (boost::weak_ptr<Content>, int, bool)> ContentChanged;
private: