logic: license seats, startscreen

* license info on startscreen
* volume license
* license generator update
This commit is contained in:
Andreas Stallinger
2017-03-03 13:49:05 +01:00
parent a1d8100215
commit f5dfafe091
11 changed files with 184 additions and 46 deletions
@@ -173,19 +173,14 @@ void IDECommunicationController::handlePing(const NetworkProtocolHelper::PingMes
if (message.valid)
{
MessagePingReceived msg;
msg.ideId = message.ideId;
msg.ideName = message.ideId;
std::string ideName = "unknown";
if (msg.ideId == "vs")
if (msg.ideName.empty())
{
ideName = "Visual Studio";
msg.ideName = "unknown";
}
// TODO: add the other ides
msg.ideName = ideName;
std::string statusMessage = ideName + " instance detected via plugin port";
std::string statusMessage = msg.ideName + " instance detected via plugin port";
MessageStatus(statusMessage, false, false).dispatch();
msg.dispatch();