Help - Search - Members - Calendar
Full Version: components cooperation
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
ne_me_sis
How can the foobar components cooperate?
I mean some kind of more sophisticated way than menu_manager->run_command( "...." ) like calling methods directly.
foosion
It's basically the same thing as using services from SDK:
Get an instance of a service with known interface, call methods on that instance.
ne_me_sis
... and without having its source code?
Messer
If it is legitimate, official interface you'll be able to get full source code and/or at least SDK (headers, documentation, library). Otherwise you shouldn't use it at all - if developer decides not to give access to component it's for some reason...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.