summaryrefslogtreecommitdiff
path: root/mg_media.c
diff options
context:
space:
mode:
authorlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-09-11 12:07:54 +0000
committerlvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b>2004-09-11 12:07:54 +0000
commit0281b129e7bdde83400eaa9cb26d5dbe0635591a (patch)
treeaad2280f0da2905c85e2958744cbb22b9989418e /mg_media.c
parentc69242aac5f4d5b3f5c9cf2dae4f519ec3787cae (diff)
downloadvdr-plugin-muggle-0281b129e7bdde83400eaa9cb26d5dbe0635591a.tar.gz
vdr-plugin-muggle-0281b129e7bdde83400eaa9cb26d5dbe0635591a.tar.bz2
Documentation added
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@154 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'mg_media.c')
-rw-r--r--mg_media.c32
1 files changed, 5 insertions, 27 deletions
diff --git a/mg_media.c b/mg_media.c
index 96dc3f7..6cf5339 100644
--- a/mg_media.c
+++ b/mg_media.c
@@ -2,9 +2,9 @@
* \brief Top level access to media in vdr plugin muggle
*
* \version $Revision: 1.14 $
- * \date $Date: 2004/07/29 06:17:40 $
+ * \date $Date$
* \author Ralf Klueber, Lars von Wedel, Andreas Kellner
- * \author Responsible author: $Author: lvw $
+ * \author Responsible author: $Author$
*/
/* makes sure we dont parse the same declarations twice */
@@ -173,7 +173,7 @@ mgMedia::mgMedia(contentType mediatype)
case GD_MP3:
{
errval = GdInitDatabase(&m_db);
- mgDebug(3, "Successfully conntected to sql database %s", the_setup.DbName );
+ mgDebug(3, "Successfully connected to sql database %s", the_setup.DbName );
}
}
if(errval < 0)
@@ -192,10 +192,6 @@ mgMedia::mgMedia(contentType mediatype)
}
}
-/*!
- *******************************************************************
- * \brief
- ********************************************************************/
mgMedia::~mgMedia()
{
if( m_filters )
@@ -204,10 +200,6 @@ mgMedia::~mgMedia()
}
}
-/*!
- *******************************************************************
- * \brief
- ********************************************************************/
string mgMedia::getMediaTypeName()
{
switch(m_mediatype)
@@ -221,11 +213,6 @@ string mgMedia::getMediaTypeName()
return "";
}
-
-/*!
- *******************************************************************
- * \brief
- ********************************************************************/
mgSelectionTreeNode* mgMedia::getSelectionRoot()
{
switch(m_mediatype)
@@ -237,21 +224,12 @@ mgSelectionTreeNode* mgMedia::getSelectionRoot()
return NULL;
}
-
-/*!
- *******************************************************************
- * \brief
- ********************************************************************/
mgPlaylist* mgMedia::createTemporaryPlaylist()
{
string tmpname = "current";
return loadPlaylist( tmpname );
}
-/*!
- * \brief Load a playlist from the database
- *
- */
mgPlaylist* mgMedia::loadPlaylist(string name)
{
mgPlaylist *list;
@@ -259,9 +237,9 @@ mgPlaylist* mgMedia::loadPlaylist(string name)
{
case GD_MP3:
{
- list = new GdPlaylist(name, m_db);
+ list = new GdPlaylist( name, m_db );
list->setDisplayColumns(getDefaultCols());
-
+
return list;
} break;
}