add movemode in channellist (later it should only useable in bouquets)
[enigma2.git] / lib / dvb / db.h
index 7e31a22dceabac2465f235ef4664d2fe59f06e4a..604d5288c1a3e81f17aa528dc80778ef37f70448 100644 (file)
@@ -4,7 +4,7 @@
 #include <lib/dvb/idvb.h>
 #include <set>
 
-class ServiceDescriptionTable;
+class ServiceDescriptionSection;
 
 struct eDVBBouquet
 {
@@ -28,6 +28,8 @@ private:
        
        std::map<eServiceReference, eDVBBouquet> m_bouquets;
 public:
+       void load();
+       void save();
        eDVBDB();
        virtual ~eDVBDB();
        
@@ -50,10 +52,12 @@ private:
        std::map<eServiceReferenceDVB, ePtr<eDVBService> >::iterator m_cursor;
        ePtr<eDVBDB> m_db;
        ePtr<eDVBChannelQuery> m_query;
-       eServiceReferenceDVB m_source;
+       eServiceReference m_source;
 public:
-       eDVBDBQuery(eDVBDB *db, const eServiceReferenceDVB &source, eDVBChannelQuery *query);
+       eDVBDBQuery(eDVBDB *db, const eServiceReference &source, eDVBChannelQuery *query);
        virtual RESULT getNextResult(eServiceReferenceDVB &ref);
+       
+       int compareLessEqual(const eServiceReferenceDVB &a, const eServiceReferenceDVB &b);
 };
 
 #endif