WIP. Reorganizing things to get settings work. First attempt on Database settings

This commit is contained in:
emeric
2014-07-22 12:57:29 +02:00
parent f1cea2404e
commit 938e96cc40
32 changed files with 752 additions and 96 deletions
-7
View File
@@ -1,8 +1,6 @@
#ifndef UI_SESSION_DATA_HPP
#define UI_SESSION_DATA_HPP
#include <string>
#include <boost/filesystem.hpp>
#include "database/DatabaseHandler.hpp"
@@ -15,17 +13,12 @@ class SessionData
SessionData(boost::filesystem::path dbPath);
void setAuthenticatedUser(std::string user);
Database::Handler& getDatabaseHandler() { return _db;}
const Database::Handler& getDatabaseHandler() const { return _db;}
private:
Database::Handler _db;
std::string _authenticatedUser;
};