2 #ifndef comfrm_DatabaseAccessH
3 #define comfrm_DatabaseAccessH
38 #include "database_manager.h"
41 #include <boost/function.hpp>
42 #include <boost/shared_ptr.hpp>
65 virtual void authenticate(
const std::string& user,
const std::string& psw, OnAuthenticationResultClb clb) = 0;
77 std::string getDatabaseName();
80 std::tuple< std::string, std::string > prepareSchemaTableNames(
const std::string& fullTableName);
std::function< void(std::shared_ptr< com::sql::SqlTable >) > OnTableReceivedClb
Тип коллбэка на получение таблицы
Definition: database_manager.h:60
Интерфейс доступа к базе данных
Definition: database_access.h:51
std::function< void(bool) > OnAuthenticationResultClb
Тип коллбэка на результат аутентификации
Definition: database_access.h:55