diff options
| author | Jens Arnold <amiconn@rockbox.org> | 2006-02-23 20:46:33 +0000 |
|---|---|---|
| committer | Jens Arnold <amiconn@rockbox.org> | 2006-02-23 20:46:33 +0000 |
| commit | eeec278d21ae258da9108bbbccf04d977c3d3bfa (patch) | |
| tree | bcb651133b076f9adc62f25f72369db32bfdf4f8 /apps/plugins/lib/overlay.h | |
| parent | df25cd5376a34898702b173e4d52badc088afa9f (diff) | |
| download | rockbox-eeec278d21ae258da9108bbbccf04d977c3d3bfa.zip rockbox-eeec278d21ae258da9108bbbccf04d977c3d3bfa.tar.gz rockbox-eeec278d21ae258da9108bbbccf04d977c3d3bfa.tar.bz2 rockbox-eeec278d21ae258da9108bbbccf04d977c3d3bfa.tar.xz | |
Made the overlay loader code part of the plugin library.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8813 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib/overlay.h')
| -rwxr-xr-x | apps/plugins/lib/overlay.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/apps/plugins/lib/overlay.h b/apps/plugins/lib/overlay.h new file mode 100755 index 0000000..bbf7549 --- /dev/null +++ b/apps/plugins/lib/overlay.h @@ -0,0 +1,34 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Overlay loader + * + * Copyright (C) 2006 Jens Arnold + * + * All files in this archive are subject to the GNU General Public License. + * See the file COPYING in the source tree root for full license agreement. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#ifndef __OVERLAY_H__ +#define __OVERLAY_H__ + +#ifndef SIMULATOR +#include "plugin.h" + +/* load and run a plugin linked as an overlay. */ +enum plugin_status run_overlay(struct plugin_api* api, void* parameter, + unsigned char *filename, unsigned char *name); + +#endif /* !SIMULATOR */ +#endif /* __OVERLAY_H__ */ + |