1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jens Arnold 2006-02-23 20:46:33 +00:00
parent df25cd5376
commit eeec278d21
5 changed files with 152 additions and 72 deletions

34
apps/plugins/lib/overlay.h Executable file
View file

@ -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__ */