summaryrefslogtreecommitdiff
path: root/mg_content.h
diff options
context:
space:
mode:
Diffstat (limited to 'mg_content.h')
-rw-r--r--mg_content.h23
1 files changed, 8 insertions, 15 deletions
diff --git a/mg_content.h b/mg_content.h
index ee97745..4a64c29 100644
--- a/mg_content.h
+++ b/mg_content.h
@@ -34,33 +34,26 @@ class mgContentItem
public:
mgContentItem ();
+//! \brief returns the corresponding mgSelItem
mgSelItem* getKeyItem(mgKeyTypes kt);
- //! \brief copy constructor
+//! \brief copy constructor
mgContentItem(const mgContentItem* c);
- //! \brief construct an item from an SQL row
+//! \brief construct an item from an SQL row
mgContentItem (const mgSelection* sel, const MYSQL_ROW row);
+
//! \brief returns track id
- long getTrackid () const
- {
- return m_trackid;
- }
+ long getTrackid () const;
-//! \brief returns title
- string getTitle () const
- {
- return m_title;
- }
+//! \brief returns the track title
+ string getTitle () const;
//! \brief returns filename
string getSourceFile (bool AbsolutePath=true) const;
//! \brief returns artist
- string getArtist () const
- {
- return m_artist;
- }
+ string getArtist () const;
//! \brief returns the name of the album
string getAlbum () const;