2 #ifndef comfrm_DatabaseDirectAccessH
3 #define comfrm_DatabaseDirectAccessH
34 #include "database_access.h"
35 #include "database_manager.h"
36 #include "database_backend.h"
41 #include <boost/function.hpp>
42 #include <boost/shared_ptr.hpp>
60 boost::asio::io_service& ioservice, std::unique_ptr<com::db::DatabaseBackend> backend);
69 unsigned short m_port;
70 boost::asio::io_service& m_ioservice;
71 std::unique_ptr<com::db::DatabaseBackend> m_backend;
Класс доступа к базе данных через бэкенд
Definition: database_direct_access.h:51
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