Add logging for CLAP callback requests

This commit is contained in:
Robbert van der Helm
2022-09-11 18:46:48 +02:00
parent 5d31191806
commit f64e5c4353
3 changed files with 27 additions and 1 deletions
+11
View File
@@ -37,6 +37,17 @@ class ClapLogger {
// TODO: Logging for extension queries, factory type queries
/**
* Logging for `clap_host::request_callback()`. This is handled purely on
* the Wine plugin host side.
*/
void log_callback_request(size_t instance_id);
/**
* Logging for `clap_plugin::on_main_thread()`. This is handled purely on
* the Wine plugin host side.
*/
void log_on_main_thread(size_t instance_id);
// For every object we send using `ClapMessageHandler` we have overloads
// that print information about the request and the response. The boolean
// flag here indicates whether the request was initiated on the host side