Make sql connection public to share same connection pool. Layout calls for user info from DB. Implement login path.
This commit is contained in:
@@ -66,11 +66,11 @@ public:
|
||||
};
|
||||
std::list<AudioTrack> requestQueue;
|
||||
std::list<PlayerEvent> lastInternalEvents;
|
||||
Wt::Dbo::backend::Sqlite3* sqliteConnection;
|
||||
Wt::Dbo::FixedSqlConnectionPool* connectionPool;
|
||||
private:
|
||||
GroovePlayerMgr (std::string dbFile);
|
||||
~GroovePlayerMgr();
|
||||
Wt::Dbo::backend::Sqlite3* sqliteConnection;
|
||||
Wt::Dbo::FixedSqlConnectionPool* connectionPool;
|
||||
bool continueEventLoop = true;
|
||||
|
||||
std::thread* grooveEvents;
|
||||
|
||||
Reference in New Issue
Block a user