View Single Post
Old 02-07-2010, 10:04 PM   #32
luite
Connoisseur
luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.luite has a complete set of Star Wars action figures.
 
Posts: 82
Karma: 256
Join Date: Feb 2010
Location: Netherlands
Device: dr1000
Quote:
Originally Posted by Gertjan View Post
I don't know what happens there but it looks like your plugin reports that it uses a "high level" interface which is incorrect. If you provide source code of the plugin we can see what's going on.
I have tried it in the debugger and if I change the return value of uds::PluginMgr::has_high_level_interface (called by uds::PluginMgr::try_to_create_document) it seems to work fine indeed.

But how exactly does uds determine whether a plugin uses the high or the low level interface? I have searched all documentation and the document-viewer-plugins source code, and tried tracing through the relevant functions in the debugger (uds::PluginMgr::create_wrapper_library seemed relevant) but haven't been able to find out.
luite is offline   Reply With Quote