Added decoding of receiving protocol everflourish
This commit is contained in:
parent
8565682ad8
commit
99f0b133a8
7 changed files with 76 additions and 4 deletions
|
@ -191,3 +191,17 @@ std::list<std::string> Protocol::getParametersForProtocol(const std::wstring &pr
|
|||
|
||||
return parameters;
|
||||
}
|
||||
|
||||
std::list<std::string> Protocol::decodeData(const std::wstring &protocolName, const std::string &data) {
|
||||
std::list<std::string> retval;
|
||||
std::string decoded = "";
|
||||
|
||||
if( protocolName == L"everflourish" ) {
|
||||
decoded = ProtocolEverflourish::decodeData(data);
|
||||
if (decoded != "") {
|
||||
retval.push_back(decoded);
|
||||
}
|
||||
}
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue