X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/05c4f150e0973080ef3a9bd531cae650c7d10394..d8bb70354594dddb6ef28f6d41ce733bd9caf4e6:/lib/dvb/db.h diff --git a/lib/dvb/db.h b/lib/dvb/db.h index 44393afd..55e008fb 100644 --- a/lib/dvb/db.h +++ b/lib/dvb/db.h @@ -10,8 +10,8 @@ class ServiceDescriptionSection; class eDVBDB: public iDVBChannelList { + DECLARE_REF(eDVBDB); static eDVBDB *instance; -DECLARE_REF(eDVBDB); friend class eDVBDBQuery; friend class eDVBDBBouquetQuery; friend class eDVBDBSatellitesQuery; @@ -44,6 +44,7 @@ public: #ifndef SWIG RESULT removeFlags(unsigned int flagmask, eDVBChannelID chid, unsigned int orb_pos); RESULT removeServices(eDVBChannelID chid, unsigned int orb_pos); + RESULT removeServices(iDVBFrontendParameters *feparm); RESULT addChannelToList(const eDVBChannelID &id, iDVBFrontendParameters *feparm); RESULT removeChannel(const eDVBChannelID &id); @@ -58,14 +59,16 @@ public: RESULT getBouquet(const eServiceReference &ref, eBouquet* &bouquet); ////// - void saveServicelist(); void loadBouquet(const char *path); eServiceReference searchReference(int tsid, int onid, int sid); eDVBDB(); virtual ~eDVBDB(); #endif + void loadServicelist(const char *filename); static eDVBDB *getInstance() { return instance; } void reloadServicelist(); + void saveServicelist(); + void saveServicelist(const char *file); void reloadBouquets(); }; @@ -73,7 +76,7 @@ public: // we have to add a possibility to invalidate here. class eDVBDBQueryBase: public iDVBChannelListQuery { -DECLARE_REF(eDVBDBQueryBase); + DECLARE_REF(eDVBDBQueryBase); protected: ePtr m_db; ePtr m_query;