From 37966ff16d923bbca53c9464815cb49cbd7fc3be Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 19 Feb 2014 00:36:52 +1000 Subject: Integrate the include files with each module. Simplifies structure of code. --- src/gaudout/gaudout.mk | 1 - src/gaudout/sys_defs.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ src/gaudout/sys_make.mk | 1 + src/gaudout/sys_options.h | 32 ++++++++++++++++++++++++++++++++ src/gaudout/sys_rules.h | 23 +++++++++++++++++++++++ 5 files changed, 101 insertions(+), 1 deletion(-) delete mode 100644 src/gaudout/gaudout.mk create mode 100644 src/gaudout/sys_defs.h create mode 100644 src/gaudout/sys_make.mk create mode 100644 src/gaudout/sys_options.h create mode 100644 src/gaudout/sys_rules.h (limited to 'src/gaudout') diff --git a/src/gaudout/gaudout.mk b/src/gaudout/gaudout.mk deleted file mode 100644 index 004306bc..00000000 --- a/src/gaudout/gaudout.mk +++ /dev/null @@ -1 +0,0 @@ -GFXSRC += $(GFXLIB)/src/gaudout/gaudout.c diff --git a/src/gaudout/sys_defs.h b/src/gaudout/sys_defs.h new file mode 100644 index 00000000..f22d269c --- /dev/null +++ b/src/gaudout/sys_defs.h @@ -0,0 +1,45 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://ugfx.org/license.html + */ + +/** + * @file src/gaudout/sys_defs.h + * + * @addtogroup GAUDOUT + * + * @brief Module to output audio data (under development) + * + * @{ + */ + +#ifndef _GAUDOUT_H +#define _GAUDOUT_H + +#include "gfx.h" + +#if GFX_USE_GAUDOUT || defined(__DOXYGEN__) + +/*===========================================================================*/ +/* Type definitions */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* External declarations. */ +/*===========================================================================*/ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /* GFX_USE_GAUDOUT */ + +#endif /* _GAUDOUT_H */ +/** @} */ + diff --git a/src/gaudout/sys_make.mk b/src/gaudout/sys_make.mk new file mode 100644 index 00000000..14f5bac3 --- /dev/null +++ b/src/gaudout/sys_make.mk @@ -0,0 +1 @@ +GFXSRC += $(GFXLIB)/src/gaudout/gaudout.c diff --git a/src/gaudout/sys_options.h b/src/gaudout/sys_options.h new file mode 100644 index 00000000..929bb42a --- /dev/null +++ b/src/gaudout/sys_options.h @@ -0,0 +1,32 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://ugfx.org/license.html + */ + +/** + * @file src/gaudout/sys_options.h + * @brief GAUDOUT - Audio Output subsystem options header file. + * + * @addtogroup GAUDOUT + * @{ + */ + +#ifndef _GAUDOUT_OPTIONS_H +#define _GAUDOUT_OPTIONS_H + +/** + * @name GAUDOUT Functionality to be included + * @{ + */ +/** + * @} + * + * @name GAUDOUT Optional Sizing Parameters + * @{ + */ +/** @} */ + +#endif /* _GAUDOUT_OPTIONS_H */ +/** @} */ diff --git a/src/gaudout/sys_rules.h b/src/gaudout/sys_rules.h new file mode 100644 index 00000000..50b9a442 --- /dev/null +++ b/src/gaudout/sys_rules.h @@ -0,0 +1,23 @@ +/* + * This file is subject to the terms of the GFX License. If a copy of + * the license was not distributed with this file, you can obtain one at: + * + * http://ugfx.org/license.html + */ + +/** + * @file src/gaudout/sys_rules.h + * @brief GAUDOUT safety rules header file. + * + * @addtogroup GAUDOUT + * @{ + */ + +#ifndef _GAUDOUT_RULES_H +#define _GAUDOUT_RULES_H + +#if GFX_USE_GAUDOUT +#endif + +#endif /* _GAUDOUT_RULES_H */ +/** @} */ -- cgit v1.2.3