From 5ff227c657e02ebe2bc719faf4bd2231a04850c8 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Tue, 24 Jan 2006 00:29:54 +0000 Subject: add ability to copy providers or all services from satellites to favourites (this creates a new bouquet) add ability to remove a complete bouquet both are just working with enabled multi bouquet mode --- lib/dvb/db.cpp | 6 ++++++ lib/dvb/idvb.h | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'lib/dvb') diff --git a/lib/dvb/db.cpp b/lib/dvb/db.cpp index ad2996f9..e0fadc5e 100644 --- a/lib/dvb/db.cpp +++ b/lib/dvb/db.cpp @@ -107,6 +107,12 @@ err: return -1; } +RESULT eBouquet::setListName(const std::string &name) +{ + m_bouquet_name = name; + return 0; +} + eDVBService::eDVBService() { } diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h index f18d4f34..c7db9779 100644 --- a/lib/dvb/idvb.h +++ b/lib/dvb/idvb.h @@ -21,11 +21,12 @@ struct eBouquet std::string m_filename; // without path.. just name typedef std::list list; list m_services; -// the following four methods are implemented in db.cpp +// the following five methods are implemented in db.cpp RESULT flushChanges(); RESULT addService(const eServiceReference &); RESULT removeService(const eServiceReference &); RESULT moveService(const eServiceReference &, unsigned int); + RESULT setListName(const std::string &name); }; /* these structures have by intention no operator int() defined. -- cgit v1.2.3