summaryrefslogtreecommitdiff
path: root/muggle-plugin/gd_content_interface.h
diff options
context:
space:
mode:
authorMountainMan <MountainMan@e10066b5-e1e2-0310-b819-94efdf66514b>2004-07-06 00:20:51 +0000
committerMountainMan <MountainMan@e10066b5-e1e2-0310-b819-94efdf66514b>2004-07-06 00:20:51 +0000
commitd1d46525dab343e4f8cfc98fc8f7bb4131735adc (patch)
treede9da0d3efbaae52ab68cf2449497b8bb36f5b83 /muggle-plugin/gd_content_interface.h
parent17e68c69f269b092ab1a1d8412242f608243c2f2 (diff)
downloadvdr-plugin-muggle-d1d46525dab343e4f8cfc98fc8f7bb4131735adc.tar.gz
vdr-plugin-muggle-d1d46525dab343e4f8cfc98fc8f7bb4131735adc.tar.bz2
loading and saving playlists
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@101 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'muggle-plugin/gd_content_interface.h')
-rw-r--r--muggle-plugin/gd_content_interface.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/muggle-plugin/gd_content_interface.h b/muggle-plugin/gd_content_interface.h
index 8e95267..491e4b9 100644
--- a/muggle-plugin/gd_content_interface.h
+++ b/muggle-plugin/gd_content_interface.h
@@ -3,10 +3,10 @@
* \brief Data objects for content (e.g. mp3 files, movies)
* for the vdr muggle plugin database
*
- * \version $Revision: 1.7 $
- * \date $Date: 2004/05/28 15:29:18 $
+ * \version $Revision: 1.8 $
+ * \date $Date: 2004/07/06 00:20:51 $
* \author Ralf Klueber, Lars von Wedel, Andreas Kellner
- * \author Responsible author: $Author: lvw $
+ * \author Responsible author: $Author: MountainMan $
*
* Declares main classes for content items and interfaces to SQL databases
*
@@ -250,15 +250,14 @@ class GdPlaylist : public mgPlaylist
/*==== constructors ====*/
GdPlaylist(std::string listname, MYSQL db_handle);
/* opens existing or creates empty playlist */
-
- GdPlaylist(unsigned int sql_identifier, MYSQL db_handle);
- /* construct from the db by internal id*/
-
+
/*==== destructor ====*/
virtual ~GdPlaylist();
-
+ virtual void setListname(std::string name);
+ /* changes the listname of the playlist (and unset the sql id */
+
int getPlayTime();
/* returns the total duration of all songs in the list in seconds */
@@ -307,6 +306,9 @@ public:
/* -------------------- begin CVS log ---------------------------------
* $Log: gd_content_interface.h,v $
+ * Revision 1.8 2004/07/06 00:20:51 MountainMan
+ * loading and saving playlists
+ *
* Revision 1.7 2004/05/28 15:29:18 lvw
* Merged player branch back on HEAD branch.
*