Refactoring of player management and integration with the main window rendering
This commit is contained in:
@@ -7,11 +7,12 @@ using namespace std;
|
||||
//--------------------------------------------------------------
|
||||
/* Default constructor */
|
||||
AppContext::AppContext()
|
||||
: logger(eventBus)
|
||||
{
|
||||
// Create an instance of the Track
|
||||
m_hTrack = make_unique<Track>();
|
||||
|
||||
// Create an instance of the HTTP server
|
||||
m_hServer = make_unique<HttpServer>();
|
||||
|
||||
// Create an instance of the Player
|
||||
player = make_unique<player::Player>(eventBus);
|
||||
}
|
||||
//--------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user