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

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

No files matched your search

+1 -1
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")