summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Korr <alkorr@rockbox.org>2002-04-16 18:40:43 +0000
committerAlan Korr <alkorr@rockbox.org>2002-04-16 18:40:43 +0000
commit7dc59cffd501996e44659739340652692f0780db (patch)
tree5827997bee6a4ae6005fbed7989e52f1dd8578dd
parent223884c4e5f14c6ed1fc2f536bd9250984a6a0d6 (diff)
downloadrockbox-7dc59cffd501996e44659739340652692f0780db.zip
rockbox-7dc59cffd501996e44659739340652692f0780db.tar.gz
rockbox-7dc59cffd501996e44659739340652692f0780db.tar.bz2
rockbox-7dc59cffd501996e44659739340652692f0780db.tar.xz
module fat and templates : just added templates files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@107 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/test/template/config.h26
-rw-r--r--firmware/test/template/defines.h24
-rw-r--r--firmware/test/template/functions.h26
-rw-r--r--firmware/test/template/inlines.h26
-rw-r--r--firmware/test/template/makefile23
-rw-r--r--firmware/test/template/return_values.h24
-rw-r--r--firmware/test/template/template.h27
-rw-r--r--firmware/test/template/types.h24
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 0000000..978d447
--- /dev/null
+++ b/firmware/test/template/config.h
@@ -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 \ 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 0000000..04da65b
--- /dev/null
+++ b/firmware/test/template/defines.h
@@ -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 \ 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 0000000..9bb7482
--- /dev/null
+++ b/firmware/test/template/functions.h
@@ -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
diff --git a/firmware/test/template/inlines.h b/firmware/test/template/inlines.h
new file mode 100644
index 0000000..9fd804d
--- /dev/null
+++ b/firmware/test/template/inlines.h
@@ -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 \ No newline at end of file
diff --git a/firmware/test/template/makefile b/firmware/test/template/makefile
new file mode 100644
index 0000000..76bf4e3
--- /dev/null
+++ b/firmware/test/template/makefile
@@ -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
+
diff --git a/firmware/test/template/return_values.h b/firmware/test/template/return_values.h
new file mode 100644
index 0000000..b91db7f
--- /dev/null
+++ b/firmware/test/template/return_values.h
@@ -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 \ 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 0000000..89a31a9
--- /dev/null
+++ b/firmware/test/template/template.h
@@ -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
diff --git a/firmware/test/template/types.h b/firmware/test/template/types.h
new file mode 100644
index 0000000..b8cc15f
--- /dev/null
+++ b/firmware/test/template/types.h
@@ -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 \ No newline at end of file