예제 #1
0
void RPCServer::SetServerDescription(juce::String& description) noexcept
{
	description = version.trim().substring(0, maxlength_description);
	if (description.containsNonWhitespaceChars())//if name is actually set
	{
		this->description = description;
	}
}
예제 #2
0
void RPCServer::SetServerVersion(juce::String& version) noexcept
{
	version = version.trim().substring(0, maxlength_version);
	if (version.containsNonWhitespaceChars())//if name is actually set
	{
		this->version = version;
	}
}
예제 #3
0
void RPCServer::SetServerName(juce::String& name) noexcept
{
	name = version.trim().substring(0, maxlength_name);
	if (name.containsNonWhitespaceChars())//if name is actually set
	{
		this->name = name;
	}
}