| kodi
    | 
Database manager class for handling database updating. More...
#include <DatabaseManager.h>
| Public Member Functions | |
| CDatabaseManager (const CDatabaseManager &)=delete | |
| CDatabaseManager const & | operator= (CDatabaseManager const &)=delete | 
| void | Initialize () | 
| Initialize the database manager Checks that all databases are up to date, otherwise updates them. | |
| bool | CanOpen (const std::string &name) | 
| Check whether we can open a database.  More... | |
| bool | IsUpgrading () const | 
| void | LocalizationChanged () | 
Database manager class for handling database updating.
Ensures that databases used in XBMC are up to date, and if a database can't be opened, ensures we don't continuously try it.
| bool CDatabaseManager::CanOpen | ( | const std::string & | name | ) | 
Check whether we can open a database.
Checks whether the database has been updated correctly, if so returns true. If the database update failed, returns false immediately. If the database update is in progress, returns false.
| name | the name of the database to check. | 
 1.8.13
 1.8.13