diff options
| author | MountainMan <MountainMan@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-02-02 02:01:11 +0000 |
|---|---|---|
| committer | MountainMan <MountainMan@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-02-02 02:01:11 +0000 |
| commit | d79d2d24fcf5a3b4594face6a8c7e7bcb36d1dbc (patch) | |
| tree | e22a8fc06e480c3a738e52aea73ccf55476ab77c /gd_content_interface.h | |
| parent | f93735c67796b4d300737aff8cff39061dae465e (diff) | |
| download | vdr-plugin-muggle-d79d2d24fcf5a3b4594face6a8c7e7bcb36d1dbc.tar.gz vdr-plugin-muggle-d79d2d24fcf5a3b4594face6a8c7e7bcb36d1dbc.tar.bz2 | |
data structures for filters prepared and partially implemented
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@14 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'gd_content_interface.h')
| -rw-r--r-- | gd_content_interface.h | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/gd_content_interface.h b/gd_content_interface.h index 8e63956..2c2cbef 100644 --- a/gd_content_interface.h +++ b/gd_content_interface.h @@ -4,10 +4,10 @@ * \brief Data Objects for content (e.g. mp3 files, movies) * for the vdr muggle plugindatabase ******************************************************************** - * \version $Revision: 1.1 $ - * \date $Date: 2004/02/01 18:22:53 $ + * \version $Revision: 1.2 $ + * \date $Date: 2004/02/02 02:01:11 $ * \author Ralf Klueber, Lars von Wedel, Andreas Kellner - * \author file owner: $Author: LarsAC $ + * \author file owner: $Author: MountainMan $ * * Declares main classes of for content items and interfaces to SQL databases * @@ -29,10 +29,23 @@ #include <mysql/mysql.h> #include "mg_content_interface.h" +#include "mg_media.h" // non-member function int GdInitDatabase(MYSQL *db); -std::vector<std::string> GdGetStoredPlaylists(MYSQL db); +std::vector<std::string> *GdGetStoredPlaylists(MYSQL db); + + +class gdTrackFilters: public mgTrackFilters +{ + public: + gdTrackFilters(); + ~gdTrackFilters(); + + virtual std::string CreateSQL(); + virtual void clear(); + +}; /*! ******************************************************************* @@ -187,10 +200,12 @@ public: virtual ~GdTreeNode(); // compute children on the fly + virtual bool isLeafNode(); virtual bool expand(); // access data in current node virtual std::vector<mgContentItem*>* getTracks(); + virtual mgContentItem* getSingleTrack(); }; #endif /* END _GD_CONTENT_INTERFACE_H */ |
