From eeec278d21ae258da9108bbbccf04d977c3d3bfa Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 23 Feb 2006 20:46:33 +0000 Subject: 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 --- apps/plugins/lib/overlay.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 apps/plugins/lib/overlay.h (limited to 'apps/plugins/lib/overlay.h') 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__ */ + -- cgit v1.1