summaryrefslogtreecommitdiff
path: root/mg_playlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'mg_playlist.h')
-rw-r--r--mg_playlist.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/mg_playlist.h b/mg_playlist.h
index addf52e..30443f4 100644
--- a/mg_playlist.h
+++ b/mg_playlist.h
@@ -133,22 +133,25 @@ public:
/*! \brief returns the nth track from the playlist
*
* \param position - the position to skip to
+ * \return true if position was okay and changed, false otherwise
*/
- virtual void gotoPosition(unsigned int position);
+ virtual bool gotoPosition(unsigned int position);
/*!
* \brief proceeds to the next item
*
- * \todo Handle loop mode
+ * \return true if position was okay and changed, false otherwise
+ * \todo Handle play modes
*/
- virtual void skipFwd();
+ virtual bool skipFwd();
/*!
* \brief goes back to the previous item
*
- * \todo Handle loop mode
+ * \return true if position was okay and changed, false otherwise
+ * \todo Handle play modes
*/
- virtual void skipBack();
+ virtual bool skipBack();
//! \brief obtain the next item without skipping the current position
virtual mgContentItem* sneakNext();