} else
{
m_scan->insertInto(db);
+ db->flush();
eDebug("scan done!");
}
}
return 0;
}
+RESULT eDVBDB::flush()
+{
+ save();
+ return 0;
+}
+
RESULT eDVBDB::getBouquet(const eServiceReference &ref, eBouquet* &bouquet)
{
std::string str = ref.path;
RESULT addService(const eServiceReferenceDVB &service, eDVBService *service);
RESULT getService(const eServiceReferenceDVB &reference, ePtr<eDVBService> &service);
+ RESULT flush();
RESULT startQuery(ePtr<iDVBChannelListQuery> &query, eDVBChannelQuery *query, const eServiceReference &source);
virtual RESULT addService(const eServiceReferenceDVB &service, eDVBService *service)=0;
virtual RESULT getService(const eServiceReferenceDVB &reference, ePtr<eDVBService> &service)=0;
+ virtual RESULT flush()=0;
virtual RESULT getBouquet(const eServiceReference &ref, eBouquet* &bouquet)=0;