MythTV  master
browserdbutil.h
Go to the documentation of this file.
1 #ifndef BROWSERDBUTIL_H_
2 #define BROWSERDBUTIL_H_
3 
4 #include <QStringList>
5 
6 class Bookmark;
7 
9 
10 bool FindInDB(const QString &category, const QString& name);
11 bool InsertInDB(Bookmark *site);
12 bool InsertInDB(const QString &category, const QString &name, const QString &url, const bool &isHomepage);
13 
14 bool ResetHomepageFromDB();
15 bool UpdateHomepageInDB(Bookmark* site);
16 
17 bool RemoveFromDB(Bookmark *site);
18 bool RemoveFromDB(const QString &category, const QString &name);
19 
20 int GetCategoryList(QStringList &list);
21 int GetSiteList(QList<Bookmark*> &siteList);
22 
23 #endif
int GetSiteList(QList< Bookmark * > &siteList)
bool InsertInDB(Bookmark *site)
bool FindInDB(const QString &category, const QString &name)
bool ResetHomepageFromDB()
bool RemoveFromDB(Bookmark *site)
int GetCategoryList(QStringList &list)
bool UpgradeBrowserDatabaseSchema(void)
bool UpdateHomepageInDB(Bookmark *site)