Help - Search - Members - Calendar
Full Version: Porting Plugins from 0.8 to 0.9
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Development - (fb2k)
zetafunction
Are there any guides out there for this sort of thing?

Right now, I've been doing basic stuff like adding changing string8 to pfc::string8, but there doesn't seem to be any sort of general guide on what happened to types that disappeared. For example, I can't figure out what to do with any of the mem_block_t's or vis_sample's, because they've been removed, and there's no indication on their replacement. Any advice would be appreciated.

Edit: I also tried looking for plugins that had sources for before 0.9 and after 0.9, but I couldn't find any of those either. Any pointers here would be good too.
foosion
pfc::array_t<T> is supposed to be used instead of mem_block_t<T>. Regarding vis_sample: I suggest you take a look at the new visualisation API and work it out from there. Also reading the SDK readme first is a good idea.
zetafunction
I read the readme. It's no substitute for something like Doxygen documentation (yea I know there's some, but there's other places where it would have been nice to see what changed, like in menu_helper).

Edit: one more question. What does the menu_manager class from the old SDK do? I still haven't been able to find older copies of the SDK to look at for reference.
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.