mirror of
https://github.com/Kistler-Group/sdbus-cpp.git
synced 2026-01-26 07:32:18 +01:00
feat: support std::future-based async methods in codegen tool (#353)
This commit is contained in:
committed by
GitHub
parent
8113bf88ad
commit
3717e63c64
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user