MCPcopy Create free account
hub / github.com/DISTRHO/DPF / query_interface_timer_handler

Method query_interface_timer_handler

distrho/src/DistrhoUIVST3.cpp:992–1009  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

990 // v3_funknown
991
992 static v3_result V3_API query_interface_timer_handler(void* self, const v3_tuid iid, void** iface)
993 {
994 dpf_timer_handler* const timer = *static_cast<dpf_timer_handler**>(self);
995
996 if (v3_tuid_match(iid, v3_funknown_iid) ||
997 v3_tuid_match(iid, v3_timer_handler_iid))
998 {
999 d_debug("query_interface_timer_handler => %p %s %p | OK", self, tuid2str(iid), iface);
1000 ++timer->refcounter;
1001 *iface = self;
1002 return V3_OK;
1003 }
1004
1005 d_debug("query_interface_timer_handler => %p %s %p | WARNING UNSUPPORTED", self, tuid2str(iid), iface);
1006
1007 *iface = NULL;
1008 return V3_NO_INTERFACE;
1009 }
1010
1011 // ----------------------------------------------------------------------------------------------------------------
1012 // v3_timer_handler

Callers

nothing calls this directly

Calls 3

v3_tuid_matchFunction · 0.85
d_debugFunction · 0.85
tuid2strFunction · 0.85

Tested by

no test coverage detected