mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Add todos for logging successful interface queries
This commit is contained in:
@@ -30,6 +30,7 @@ YaComponentPluginImpl::~YaComponentPluginImpl() {
|
|||||||
|
|
||||||
tresult PLUGIN_API
|
tresult PLUGIN_API
|
||||||
YaComponentPluginImpl::queryInterface(const Steinberg::TUID _iid, void** obj) {
|
YaComponentPluginImpl::queryInterface(const Steinberg::TUID _iid, void** obj) {
|
||||||
|
// TODO: Successful queries should also be logged
|
||||||
const tresult result = YaComponent::queryInterface(_iid, obj);
|
const tresult result = YaComponent::queryInterface(_iid, obj);
|
||||||
if (result != Steinberg::kResultOk) {
|
if (result != Steinberg::kResultOk) {
|
||||||
bridge.logger.log_unknown_interface("In IComponent::queryInterface()",
|
bridge.logger.log_unknown_interface("In IComponent::queryInterface()",
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ YaHostApplicationHostImpl::YaHostApplicationHostImpl(
|
|||||||
tresult PLUGIN_API
|
tresult PLUGIN_API
|
||||||
YaHostApplicationHostImpl::queryInterface(const Steinberg::TUID _iid,
|
YaHostApplicationHostImpl::queryInterface(const Steinberg::TUID _iid,
|
||||||
void** obj) {
|
void** obj) {
|
||||||
|
// TODO: Successful queries should also be logged
|
||||||
const tresult result = YaHostApplication::queryInterface(_iid, obj);
|
const tresult result = YaHostApplication::queryInterface(_iid, obj);
|
||||||
if (result != Steinberg::kResultOk) {
|
if (result != Steinberg::kResultOk) {
|
||||||
std::cerr << "TODO: Implement unknown interface logging on Wine side"
|
std::cerr << "TODO: Implement unknown interface logging on Wine side"
|
||||||
|
|||||||
Reference in New Issue
Block a user