Generate synchronous methods alongside asynchronous methods

(cherry picked from commit a111d47e9c)
v3.5.13-sru
Timothy Pearson 12 years ago committed by Slávek Banko
parent 31217f0ec1
commit 50bc969961

@ -592,6 +592,10 @@ bool MethodGenerator::extractMethods(const TQDomElement& interfaceElement,
{
method.async = hasAnnotation(element, "org.freedesktop.DBus.GLib.Async");
classData.methods.append(method);
if (method.async) {
method.async = false;
classData.methods.append(method);
}
}
else
classData.msignals.append(method);

Loading…
Cancel
Save