mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-23 12:02:39 -05:00
module fat and templates : just added templates files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@107 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
223884c4e5
commit
7dc59cffd5
8 changed files with 200 additions and 0 deletions
26
firmware/test/template/config.h
Normal file
26
firmware/test/template/config.h
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id:
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 by Alan Korr
|
||||||
|
*
|
||||||
|
* 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 __LIBRARY_TEMPLATE_H__
|
||||||
|
# error "This header file must be included ONLY from template.h."
|
||||||
|
#endif
|
||||||
|
#ifndef __LIBRARY_TEMPLATE_CONFIG_H__
|
||||||
|
# define __LIBRARY_TEMPLATE_CONFIG_H__
|
||||||
|
# define PACKAGE_NAME "template"
|
||||||
|
# define PACKAGE_VERSION "0.0.0"
|
||||||
|
#endif
|
||||||
24
firmware/test/template/defines.h
Normal file
24
firmware/test/template/defines.h
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id:
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 by Alan Korr
|
||||||
|
*
|
||||||
|
* 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 __LIBRARY_TEMPLATE_H__
|
||||||
|
# error "This header file must be included ONLY from template.h."
|
||||||
|
#endif
|
||||||
|
#ifndef __LIBRARY_TEMPLATE_DEFINES_H__
|
||||||
|
# define __LIBRARY_TEMPLATE_DEFINES_H__
|
||||||
|
#endif
|
||||||
26
firmware/test/template/functions.h
Normal file
26
firmware/test/template/functions.h
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 by Alan Korr
|
||||||
|
*
|
||||||
|
* 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 __LIBRARY_TEMPLATE_H__
|
||||||
|
# error "This header file must be included ONLY from template.h."
|
||||||
|
#endif
|
||||||
|
# ifndef __LIBRARY_TEMPLATE_FUNCTIONS_H__
|
||||||
|
# define __LIBRARY_TEMPLATE_FUNCTIONS_H__
|
||||||
|
# ifdef TEST
|
||||||
|
# endif
|
||||||
|
#endif
|
||||||
26
firmware/test/template/inlines.h
Normal file
26
firmware/test/template/inlines.h
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id:
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 by Alan Korr
|
||||||
|
*
|
||||||
|
* 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 __LIBRARY_TEMPLATE_H__
|
||||||
|
# error "This header file must be included ONLY from template.h."
|
||||||
|
#endif
|
||||||
|
# ifndef __LIBRARY_TEMPLATE_INLINES_H__
|
||||||
|
#define __LIBRARY_TEMPLATE_INLINES_H__
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
||||||
23
firmware/test/template/makefile
Normal file
23
firmware/test/template/makefile
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
#############################################################################
|
||||||
|
## __________ __ ___.
|
||||||
|
## Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
## Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
## Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
## Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
## \/ \/ \/ \/ \/
|
||||||
|
## Copyright Alan Korr, 2002. All rights reserved.
|
||||||
|
##
|
||||||
|
## Permission to use, copy, modify, and distribute this software for any
|
||||||
|
## purpose is hereby granted without fee, provided that this copyright and
|
||||||
|
## permissions notice appear in all copies and derivatives, and that no
|
||||||
|
## charge may be made for the software and its documentation except to cover
|
||||||
|
## cost of distribution.
|
||||||
|
##
|
||||||
|
## This software is provided "as is" without express or implied warranty.
|
||||||
|
#############################################################################
|
||||||
|
ARCH = test
|
||||||
|
PACKAGE = template
|
||||||
|
VERSION = 0.0.0
|
||||||
|
-include ../makefile-vars
|
||||||
|
-include ../makefile-rules
|
||||||
|
|
||||||
24
firmware/test/template/return_values.h
Normal file
24
firmware/test/template/return_values.h
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id:
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 by Alan Korr
|
||||||
|
*
|
||||||
|
* 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 __LIBRARY_TEMPLATE_H__
|
||||||
|
# error "This header file must be included ONLY from template.h."
|
||||||
|
#endif
|
||||||
|
#ifndef __LIBRARY_TEMPLATE_RETURN_VALUES_H__
|
||||||
|
# define __LIBRARY_TEMPLATE_RETURN_VALUES_H__
|
||||||
|
#endif
|
||||||
27
firmware/test/template/template.h
Normal file
27
firmware/test/template/template.h
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id$
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 by Alan Korr
|
||||||
|
*
|
||||||
|
* 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 __LIBRARY_TEMPLATE_H__
|
||||||
|
# define __LIBRARY_TEMPLATE_H__
|
||||||
|
# include <template/config.h>
|
||||||
|
# include <template/defines.h>
|
||||||
|
# include <template/types.h>
|
||||||
|
# include <template/return_values.h>
|
||||||
|
# include <template/inlines.h>
|
||||||
|
# include <template/functions.h>
|
||||||
|
#endif
|
||||||
24
firmware/test/template/types.h
Normal file
24
firmware/test/template/types.h
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
/***************************************************************************
|
||||||
|
* __________ __ ___.
|
||||||
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
||||||
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
||||||
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
||||||
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
||||||
|
* \/ \/ \/ \/ \/
|
||||||
|
* $Id:
|
||||||
|
*
|
||||||
|
* Copyright (C) 2002 by Alan Korr
|
||||||
|
*
|
||||||
|
* 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 __LIBRARY_TEMPLATE_H__
|
||||||
|
# error "This header file must be included ONLY from template.h."
|
||||||
|
#endif
|
||||||
|
#ifndef __LIBRARY_TEMPLATE_TYPES_H__
|
||||||
|
# define __LIBRARY_TEMPLATE_TYPES_H__
|
||||||
|
#endif
|
||||||
Loading…
Add table
Add a link
Reference in a new issue