|
|
Rockbox mail archiveSubject: Re: Version 2.3From: Björn Stenberg (bjorn_at_haxx.se) Date: 2003-04-20
TP Diffenbach wrote:
Yes. The idea is to move all "GUI exclusive" functions (things that takes over the screen and/or keyboard) into small code files, jokingly called "rocks", that are loaded and executed when requested.
Examples are: Games, demos, text viewer and future things like id3 editor, texte editor, search function etc. Possibly the recording feature could also be a plugin.
The plugins will have a size limitation, something like 20-32 kb, and only one plugin will be loaded at any one time.
The API will be in the form of a struct with function pointers that Rockbox sends to the plugin after loading. The plugin will then use this function pointer struct to call Rockbox internal functions, like this:
rockbox.lcd_clearscreen();
-- Björn
Page was last modified "Jan 10 2012" The Rockbox Crew |