blob: e71340d8003b8a0255cb8d105c2ac67752c3e322 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "_globals.h"
#include "protocol.h"
#include "utils.h"
ext::string Protocol::getDisplayName(const ext::a::string& protocol)
{
mu_text protoName[128];
if (mu::protosvc::getName(protocol.c_str(), 128, protoName) == 0)
{
return protoName;
}
else
{
return utils::fromA(protocol);
}
}
|