mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-21 19:36:53 +01:00
23 lines
433 B
C++
23 lines
433 B
C++
#include "database_manager.h"
|
|
|
|
#include "database.h"
|
|
|
|
void DatabaseManager::load() {
|
|
//go thourgh settings, and create all the defined db backends
|
|
//add them to ProjectSettings
|
|
}
|
|
|
|
DatabaseManager *DatabaseManager::get_singleton() {
|
|
return _instance;
|
|
}
|
|
|
|
DatabaseManager::DatabaseManager() {
|
|
_instance = this;
|
|
}
|
|
|
|
DatabaseManager::~DatabaseManager() {
|
|
_instance = nullptr;
|
|
}
|
|
|
|
DatabaseManager *DatabaseManager::_instance = nullptr;
|