diff options
| author | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-09-07 17:40:47 +0000 |
|---|---|---|
| committer | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-09-07 17:40:47 +0000 |
| commit | 253498aa8a7981aee3adc577afd6a5a613963064 (patch) | |
| tree | 89625c225f6154514d5e27a9222fab734aff33ae /muggle-plugin/mg_content_interface.c | |
| parent | d2cd8693b36fdc5f17a79632911dd15243c4d304 (diff) | |
| download | vdr-plugin-muggle-253498aa8a7981aee3adc577afd6a5a613963064.tar.gz vdr-plugin-muggle-253498aa8a7981aee3adc577afd6a5a613963064.tar.bz2 | |
Merged ogg vorbis player to trunk
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@148 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'muggle-plugin/mg_content_interface.c')
| -rwxr-xr-x | muggle-plugin/mg_content_interface.c | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/muggle-plugin/mg_content_interface.c b/muggle-plugin/mg_content_interface.c index c62bd2d..5c4890b 100755 --- a/muggle-plugin/mg_content_interface.c +++ b/muggle-plugin/mg_content_interface.c @@ -2,9 +2,9 @@ * \brief Data Objects for content (e.g. mp3 files, movies) for the vdr muggle plugin * * \version $Revision: 1.6 $ - * \date $Date: 2004/07/25 21:33:35 $ + * \date $Date$ * \author Ralf Klueber, Lars von Wedel, Andreas Kellner - * \author Responsible author: $Author: lvw $ + * \author Responsible author: $Author$ * * Implements main classes of for content items and interfaces to SQL databases * @@ -22,7 +22,7 @@ #define DUMMY /* constructor */ -mgContentItem mgContentItem::UNDEFINED = mgContentItem(); +mgContentItem mgContentItem::UNDEFINED = mgContentItem(); using namespace std; @@ -37,7 +37,7 @@ mgTracklist::mgTracklist() } /*! - * \brief destrucor + * \brief destructor * * Deletes all items in the tracklist and removes the list itself */ @@ -46,7 +46,7 @@ mgTracklist::~mgTracklist() mgContentItem* ptr; vector<mgContentItem*>::iterator iter; - for(iter = m_list.begin(); iter != m_list.end();iter++) + for( iter = m_list.begin(); iter != m_list.end(); iter++ ) { ptr = *iter; delete ptr; @@ -191,10 +191,8 @@ bool mgTracklist::remove(unsigned int position) } /*! - ***************************************************************************** * \brief remove all occurences of item - * - ****************************************************************************/ + */ int mgTracklist::remove(mgContentItem* item) { int retval = 0; @@ -211,13 +209,6 @@ int mgTracklist::remove(mgContentItem* item) return retval; } - - -/*=================================================================*/ -/* */ -/* class mgSelectionTreeNode */ -/* */ -/*=================================================================*/ mgSelectionTreeNode::mgSelectionTreeNode(MYSQL db, int view) { m_db = db; @@ -239,7 +230,7 @@ mgSelectionTreeNode::mgSelectionTreeNode(mgSelectionTreeNode* parent, string id, m_expanded = false; } - /*==== destructor ====*/ +/*==== destructor ====*/ mgSelectionTreeNode::~mgSelectionTreeNode() { collapse(); @@ -275,7 +266,7 @@ vector<mgSelectionTreeNode*> &mgSelectionTreeNode::getChildren() return m_children; } -// access data in current node +// access data in current node string mgSelectionTreeNode::getID() { return m_id; |
