YAPOG  0.0.1
Yet Another Pokemon Online Game
DatabaseManager.hpp
Go to the documentation of this file.
1 #ifndef YAPOG_DATABASEMANAGER_HPP
2 # define YAPOG_DATABASEMANAGER_HPP
3 
4 # include "YAPOG/Macros.hpp"
5 # include "YAPOG/System/String.hpp"
8 # include "pgstream/pgstream.hpp"
9 
10 namespace yap
11 {
13  {
15  public:
16  DatabaseManager ();
17  ~DatabaseManager ();
18 
19  void Connect ();
20  pgs::pg_cnx& GetConnection ();
21  DatabaseLogger& GetDatabaseLogger ();
22  void SetLogStream (OStream& os);
23  private:
26  };
27 } // namespace yap
28 
29 #endif // YAPOG_DATABASEMANAGER_HPP