aboutsummaryrefslogtreecommitdiff
path: root/lib/dvb
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-01-24 00:29:54 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-01-24 00:29:54 +0000
commit5ff227c657e02ebe2bc719faf4bd2231a04850c8 (patch)
tree8e7361161ee08db583147d47e2662b94219ed324 /lib/dvb
parent3e9bd06034d9656d4346225e90e68a65327a4aa0 (diff)
downloadenigma2-5ff227c657e02ebe2bc719faf4bd2231a04850c8.tar.gz
enigma2-5ff227c657e02ebe2bc719faf4bd2231a04850c8.zip
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
Diffstat (limited to 'lib/dvb')
-rw-r--r--lib/dvb/db.cpp6
-rw-r--r--lib/dvb/idvb.h3
2 files changed, 8 insertions, 1 deletions
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<eServiceReference> 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.