summaryrefslogtreecommitdiff
path: root/apps/plugins/lib/overlay.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-02-23 20:46:33 +0000
committerJens Arnold <amiconn@rockbox.org>2006-02-23 20:46:33 +0000
commiteeec278d21ae258da9108bbbccf04d977c3d3bfa (patch)
treebcb651133b076f9adc62f25f72369db32bfdf4f8 /apps/plugins/lib/overlay.h
parentdf25cd5376a34898702b173e4d52badc088afa9f (diff)
downloadrockbox-eeec278d21ae258da9108bbbccf04d977c3d3bfa.tar.gz
rockbox-eeec278d21ae258da9108bbbccf04d977c3d3bfa.zip
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-xapps/plugins/lib/overlay.h34
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 0000000000..bbf7549274
--- /dev/null
+++ b/apps/plugins/lib/overlay.h
@@ -0,0 +1,34 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Overlay loader
11 *
12 * Copyright (C) 2006 Jens Arnold
13 *
14 * All files in this archive are subject to the GNU General Public License.
15 * See the file COPYING in the source tree root for full license agreement.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22#ifndef __OVERLAY_H__
23#define __OVERLAY_H__
24
25#ifndef SIMULATOR
26#include "plugin.h"
27
28/* load and run a plugin linked as an overlay. */
29enum plugin_status run_overlay(struct plugin_api* api, void* parameter,
30 unsigned char *filename, unsigned char *name);
31
32#endif /* !SIMULATOR */
33#endif /* __OVERLAY_H__ */
34