diff options
author | Fabian Schillinger | 2010-07-09 21:18:44 +0200 |
---|---|---|
committer | Fabian Schillinger | 2010-07-09 21:18:44 +0200 |
commit | 5acd0590258e9335cf4d3b1910a517efccd22a3e (patch) | |
tree | 5c2a127249fac6f8ba15d132c2cd6ef00e6a577f /src/core | |
parent | Building rpms is now supported. On Debian based systems you need the rpm pack... (diff) | |
download | pvs-5acd0590258e9335cf4d3b1910a517efccd22a3e.tar.gz pvs-5acd0590258e9335cf4d3b1910a517efccd22a3e.tar.xz pvs-5acd0590258e9335cf4d3b1910a517efccd22a3e.zip |
first commit to test git
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/pvsConnectionManager.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/core/pvsConnectionManager.cpp b/src/core/pvsConnectionManager.cpp index 8a35ca9..aabd869 100644 --- a/src/core/pvsConnectionManager.cpp +++ b/src/core/pvsConnectionManager.cpp @@ -93,6 +93,14 @@ void PVSConnectionManager::onClientRemove(PVSClientConnection* removedConnection } // Inform all chat clients about a new event. +// hier eventuell prozesse anzeigen einbinden +// +// +// +// +// +// +// void PVSConnectionManager::sendEventToClients(QString event, PVSClientConnection* connection, QString clientName) { if(event.compare("addedConnection") == 0) @@ -109,6 +117,8 @@ void PVSConnectionManager::sendEventToClients(QString event, PVSClientConnection if(event.compare("addedClient") == 0) { // send name to everybody to all connected clients. + _pvsServer.sendToAll(PVSMsg(PVSCOMMAND, "SHOWPROCESSES", "")); + ConsoleLog writeNetwork("SHOWPROCESSES sent..."); _pvsServer.sendToAll(PVSMsg(PVSMESSAGE, "clientToAdd", ":" + clientName, 0)); connection->push_back_send(PVSMsg(PVSMESSAGE, "assignedName", ":" + clientName, 0)); connection->push_back_send(PVSMsg(PVSMESSAGE, "clientToAdd", ":PVSMGR:local", 0)); |