ledger-core
DatabaseConnectionPool.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from database.djinni
3 
4 #ifndef DJINNI_GENERATED_DATABASECONNECTIONPOOL_HPP
5 #define DJINNI_GENERATED_DATABASECONNECTIONPOOL_HPP
6 
7 #include <memory>
8 #ifndef LIBCORE_EXPORT
9  #if defined(_MSC_VER)
10  #include <libcore_export.h>
11  #else
12  #define LIBCORE_EXPORT
13  #endif
14 #endif
15 
16 namespace ledger { namespace core { namespace api {
17 
18 class DatabaseConnection;
19 
22 public:
23  virtual ~DatabaseConnectionPool() {}
24 
30  virtual std::shared_ptr<DatabaseConnection> getConnection() = 0;
31 };
32 
33 } } } // namespace ledger::core::api
34 #endif //DJINNI_GENERATED_DATABASECONNECTIONPOOL_HPP
virtual std::shared_ptr< DatabaseConnection > getConnection()=0
Definition: Account.cpp:8
Definition: DatabaseConnectionPool.hpp:21