mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Refactoring and clean up of voice implementation
refs #36 - Cleanup of library and sample code - Completed now all signals in voice sample - Fixed minor bugs with the user list - TODO: Remove the VATSIM id from the user string refs #81
This commit is contained in:
committed by
Mathew Sutcliffe
parent
0bae898db8
commit
db4a3c5de4
@@ -35,6 +35,7 @@ private: //commands
|
||||
void terminateConnectionCmd(QTextStream &args);
|
||||
void inputDevicesCmd(QTextStream &args);
|
||||
void outputDevicesCmd(QTextStream &args);
|
||||
void listUsersCmd(QTextStream &args);
|
||||
|
||||
void printLinePrefix();
|
||||
|
||||
@@ -43,8 +44,12 @@ public slots:
|
||||
void onMicTestFinished();
|
||||
private slots:
|
||||
|
||||
void connectionStatusConnected();
|
||||
void connectionStatusConnected(const BlackCore::IVoiceClient::ComUnit comUnit);
|
||||
void connectionStatusDisconnected();
|
||||
void audioStartedStream(const BlackCore::IVoiceClient::ComUnit comUnit);
|
||||
void audioStoppedStream(const BlackCore::IVoiceClient::ComUnit comUnit);
|
||||
void userJoinedRoom(const QString &callsign);
|
||||
void userLeftRoom(const QString &callsign);
|
||||
|
||||
private:
|
||||
QMap<QString, std::function<void(QTextStream &)>> m_commands;
|
||||
|
||||
Reference in New Issue
Block a user