feat: support std::future-based async methods in codegen tool (#353)

This commit is contained in:
Stanislav Angelovič
2023-08-19 20:57:32 +02:00
committed by GitHub
parent 8113bf88ad
commit 3717e63c64
4 changed files with 52 additions and 25 deletions

View File

@@ -192,7 +192,7 @@ std::tuple<std::string, std::string> AdaptorGenerator::processMethods(const Node
}
else if (annotationName == "org.freedesktop.DBus.Method.Async")
{
if (annotationValue == "server" || annotationValue == "clientserver")
if (annotationValue == "server" || annotationValue == "clientserver" || annotationValue == "client-server")
async = true;
}
else if (annotationName == "org.freedesktop.systemd1.Privileged")