Fixed MQTT and WS Routing - w/o SSL
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
#include "Player.hpp"
|
||||
#include "../Communication/Communication.hpp"
|
||||
#include "../Communication/CommunicationRouter/CommunicationRouter.hpp"
|
||||
#include "../BellEngine/BellEngine.hpp"
|
||||
|
||||
// Note: Removed global melody_steps dependency for cleaner architecture
|
||||
|
||||
// Constructor with dependencies
|
||||
Player::Player(Communication* comm, FileManager* fm)
|
||||
Player::Player(CommunicationRouter* comm, FileManager* fm)
|
||||
: id(0)
|
||||
, name("melody1")
|
||||
, uid("x")
|
||||
@@ -58,7 +58,7 @@ Player::Player()
|
||||
, _durationTimerHandle(NULL) {
|
||||
}
|
||||
|
||||
void Player::setDependencies(Communication* comm, FileManager* fm) {
|
||||
void Player::setDependencies(CommunicationRouter* comm, FileManager* fm) {
|
||||
_commManager = comm;
|
||||
_fileManager = fm;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user