From 9810847f0d6136ef43b82d8580d0f3e92ff2e280 Mon Sep 17 00:00:00 2001 From: MountainMan Date: Mon, 2 Feb 2004 02:01:11 +0000 Subject: data structures for filters prepared and partially implemented git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@14 e10066b5-e1e2-0310-b819-94efdf66514b --- muggle-plugin/gd_content_interface.h | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) (limited to 'muggle-plugin/gd_content_interface.h') diff --git a/muggle-plugin/gd_content_interface.h b/muggle-plugin/gd_content_interface.h index 8e63956..2c2cbef 100644 --- a/muggle-plugin/gd_content_interface.h +++ b/muggle-plugin/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 #include "mg_content_interface.h" +#include "mg_media.h" // non-member function int GdInitDatabase(MYSQL *db); -std::vector GdGetStoredPlaylists(MYSQL db); +std::vector *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* getTracks(); + virtual mgContentItem* getSingleTrack(); }; #endif /* END _GD_CONTENT_INTERFACE_H */ -- cgit v1.2.3