MCPcopy Index your code
hub / github.com/Audio4Linux/JDSP4Linux / handleReply

Function handleReply

src/utils/CliRemoteController.cpp:92–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90
91template<typename T>
92std::optional<T> handleReply(QDBusPendingReply<T>& reply) {
93 reply.waitForFinished();
94
95 if(reply.isError()) {
96 Log::error(reply.error().message());
97 return {};
98 }
99 else
100 return { reply.value() };
101}
102
103bool handleVoidReply(QDBusPendingReply<>& reply) {
104 reply.waitForFinished();

Callers 3

listKeysMethod · 0.85
listPresetRulesMethod · 0.85
listOutputDevicesMethod · 0.85

Calls 2

errorMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected