diff options
author | Alan Korr <alkorr@rockbox.org> | 2002-04-16 18:40:43 +0000 |
---|---|---|
committer | Alan Korr <alkorr@rockbox.org> | 2002-04-16 18:40:43 +0000 |
commit | 7dc59cffd501996e44659739340652692f0780db (patch) | |
tree | 5827997bee6a4ae6005fbed7989e52f1dd8578dd /firmware/test/template | |
parent | 223884c4e5f14c6ed1fc2f536bd9250984a6a0d6 (diff) | |
download | rockbox-7dc59cffd501996e44659739340652692f0780db.tar.gz rockbox-7dc59cffd501996e44659739340652692f0780db.zip |
module fat and templates : just added templates files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@107 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/test/template')
-rw-r--r-- | firmware/test/template/config.h | 26 | ||||
-rw-r--r-- | firmware/test/template/defines.h | 24 | ||||
-rw-r--r-- | firmware/test/template/functions.h | 26 | ||||
-rw-r--r-- | firmware/test/template/inlines.h | 26 | ||||
-rw-r--r-- | firmware/test/template/makefile | 23 | ||||
-rw-r--r-- | firmware/test/template/return_values.h | 24 | ||||
-rw-r--r-- | firmware/test/template/template.h | 27 | ||||
-rw-r--r-- | firmware/test/template/types.h | 24 |
8 files changed, 200 insertions, 0 deletions
diff --git a/firmware/test/template/config.h b/firmware/test/template/config.h new file mode 100644 index 0000000000..978d447e8b --- /dev/null +++ b/firmware/test/template/config.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: | ||
9 | * | ||
10 | * Copyright (C) 2002 by Alan Korr | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef __LIBRARY_TEMPLATE_H__ | ||
20 | # error "This header file must be included ONLY from template.h." | ||
21 | #endif | ||
22 | #ifndef __LIBRARY_TEMPLATE_CONFIG_H__ | ||
23 | # define __LIBRARY_TEMPLATE_CONFIG_H__ | ||
24 | # define PACKAGE_NAME "template" | ||
25 | # define PACKAGE_VERSION "0.0.0" | ||
26 | #endif \ No newline at end of file | ||
diff --git a/firmware/test/template/defines.h b/firmware/test/template/defines.h new file mode 100644 index 0000000000..04da65bf23 --- /dev/null +++ b/firmware/test/template/defines.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: | ||
9 | * | ||
10 | * Copyright (C) 2002 by Alan Korr | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef __LIBRARY_TEMPLATE_H__ | ||
20 | # error "This header file must be included ONLY from template.h." | ||
21 | #endif | ||
22 | #ifndef __LIBRARY_TEMPLATE_DEFINES_H__ | ||
23 | # define __LIBRARY_TEMPLATE_DEFINES_H__ | ||
24 | #endif \ No newline at end of file | ||
diff --git a/firmware/test/template/functions.h b/firmware/test/template/functions.h new file mode 100644 index 0000000000..9bb748265f --- /dev/null +++ b/firmware/test/template/functions.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Alan Korr | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef __LIBRARY_TEMPLATE_H__ | ||
20 | # error "This header file must be included ONLY from template.h." | ||
21 | #endif | ||
22 | # ifndef __LIBRARY_TEMPLATE_FUNCTIONS_H__ | ||
23 | # define __LIBRARY_TEMPLATE_FUNCTIONS_H__ | ||
24 | # ifdef TEST | ||
25 | # endif | ||
26 | #endif | ||
diff --git a/firmware/test/template/inlines.h b/firmware/test/template/inlines.h new file mode 100644 index 0000000000..9fd804dc6b --- /dev/null +++ b/firmware/test/template/inlines.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: | ||
9 | * | ||
10 | * Copyright (C) 2002 by Alan Korr | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef __LIBRARY_TEMPLATE_H__ | ||
20 | # error "This header file must be included ONLY from template.h." | ||
21 | #endif | ||
22 | # ifndef __LIBRARY_TEMPLATE_INLINES_H__ | ||
23 | #define __LIBRARY_TEMPLATE_INLINES_H__ | ||
24 | |||
25 | |||
26 | #endif \ No newline at end of file | ||
diff --git a/firmware/test/template/makefile b/firmware/test/template/makefile new file mode 100644 index 0000000000..76bf4e30df --- /dev/null +++ b/firmware/test/template/makefile | |||
@@ -0,0 +1,23 @@ | |||
1 | ############################################################################# | ||
2 | ## __________ __ ___. | ||
3 | ## Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | ## Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | ## Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | ## Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | ## \/ \/ \/ \/ \/ | ||
8 | ## Copyright Alan Korr, 2002. All rights reserved. | ||
9 | ## | ||
10 | ## Permission to use, copy, modify, and distribute this software for any | ||
11 | ## purpose is hereby granted without fee, provided that this copyright and | ||
12 | ## permissions notice appear in all copies and derivatives, and that no | ||
13 | ## charge may be made for the software and its documentation except to cover | ||
14 | ## cost of distribution. | ||
15 | ## | ||
16 | ## This software is provided "as is" without express or implied warranty. | ||
17 | ############################################################################# | ||
18 | ARCH = test | ||
19 | PACKAGE = template | ||
20 | VERSION = 0.0.0 | ||
21 | -include ../makefile-vars | ||
22 | -include ../makefile-rules | ||
23 | |||
diff --git a/firmware/test/template/return_values.h b/firmware/test/template/return_values.h new file mode 100644 index 0000000000..b91db7fffc --- /dev/null +++ b/firmware/test/template/return_values.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: | ||
9 | * | ||
10 | * Copyright (C) 2002 by Alan Korr | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef __LIBRARY_TEMPLATE_H__ | ||
20 | # error "This header file must be included ONLY from template.h." | ||
21 | #endif | ||
22 | #ifndef __LIBRARY_TEMPLATE_RETURN_VALUES_H__ | ||
23 | # define __LIBRARY_TEMPLATE_RETURN_VALUES_H__ | ||
24 | #endif \ No newline at end of file | ||
diff --git a/firmware/test/template/template.h b/firmware/test/template/template.h new file mode 100644 index 0000000000..89a31a9ded --- /dev/null +++ b/firmware/test/template/template.h | |||
@@ -0,0 +1,27 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Alan Korr | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef __LIBRARY_TEMPLATE_H__ | ||
20 | # define __LIBRARY_TEMPLATE_H__ | ||
21 | # include <template/config.h> | ||
22 | # include <template/defines.h> | ||
23 | # include <template/types.h> | ||
24 | # include <template/return_values.h> | ||
25 | # include <template/inlines.h> | ||
26 | # include <template/functions.h> | ||
27 | #endif | ||
diff --git a/firmware/test/template/types.h b/firmware/test/template/types.h new file mode 100644 index 0000000000..b8cc15fa0e --- /dev/null +++ b/firmware/test/template/types.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id: | ||
9 | * | ||
10 | * Copyright (C) 2002 by Alan Korr | ||
11 | * | ||
12 | * All files in this archive are subject to the GNU General Public License. | ||
13 | * See the file COPYING in the source tree root for full license agreement. | ||
14 | * | ||
15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY | ||
16 | * KIND, either express or implied. | ||
17 | * | ||
18 | ****************************************************************************/ | ||
19 | #ifndef __LIBRARY_TEMPLATE_H__ | ||
20 | # error "This header file must be included ONLY from template.h." | ||
21 | #endif | ||
22 | #ifndef __LIBRARY_TEMPLATE_TYPES_H__ | ||
23 | # define __LIBRARY_TEMPLATE_TYPES_H__ | ||
24 | #endif \ No newline at end of file | ||