aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtrans
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2016-02-07 21:57:03 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2016-02-07 21:57:03 +0100
commit6b07b2af74b25f75e6006c13da4826568d0ea3c1 (patch)
treea802be9e3a7b2e3eaa47bdf4121c1b006a866c8c /src/gtrans
parenta1ab0a67ba1ce10394e83cc7057e629c4192d798 (diff)
downloaduGFX-6b07b2af74b25f75e6006c13da4826568d0ea3c1.tar.gz
uGFX-6b07b2af74b25f75e6006c13da4826568d0ea3c1.tar.bz2
uGFX-6b07b2af74b25f75e6006c13da4826568d0ea3c1.zip
GTRANS module skeleton
Diffstat (limited to 'src/gtrans')
-rw-r--r--src/gtrans/gtrans.c20
-rw-r--r--src/gtrans/gtrans.h39
-rw-r--r--src/gtrans/gtrans.mk6
-rw-r--r--src/gtrans/gtrans_mk.c8
-rw-r--r--src/gtrans/gtrans_options.h21
-rw-r--r--src/gtrans/gtrans_rules.h22
6 files changed, 116 insertions, 0 deletions
diff --git a/src/gtrans/gtrans.c b/src/gtrans/gtrans.c
new file mode 100644
index 00000000..7e1105d6
--- /dev/null
+++ b/src/gtrans/gtrans.c
@@ -0,0 +1,20 @@
+/*
+ * 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
+ */
+
+#include "../../gfx.h"
+
+#if GFX_USE_GTRANS
+
+void _gtransInit(void)
+{
+}
+
+void _gtransDeinit(void)
+{
+}
+
+#endif /* GFX_USE_GTRANS */
diff --git a/src/gtrans/gtrans.h b/src/gtrans/gtrans.h
new file mode 100644
index 00000000..c46b5b28
--- /dev/null
+++ b/src/gtrans/gtrans.h
@@ -0,0 +1,39 @@
+/*
+ * 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/gtrans/gtrans.h
+ *
+ * @addtogroup GTRANS
+ *
+ * @brief Module to allow changing the language of an application dynamically during run-time.
+ *
+ * @{
+ */
+
+#ifndef _TRANS_H
+#define _TRANS_H
+
+#include "../../gfx.h"
+
+#if GFX_USE_GTRANS || defined(__DOXYGEN__)
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* GFX_USE_GTRANS */
+
+#endif /* _TRANS_H */
+/** @} */
+
diff --git a/src/gtrans/gtrans.mk b/src/gtrans/gtrans.mk
new file mode 100644
index 00000000..e2f474f3
--- /dev/null
+++ b/src/gtrans/gtrans.mk
@@ -0,0 +1,6 @@
+# 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
+
+GFXSRC += $(GFXLIB)/src/gtrans/gtrans.c
diff --git a/src/gtrans/gtrans_mk.c b/src/gtrans/gtrans_mk.c
new file mode 100644
index 00000000..57557509
--- /dev/null
+++ b/src/gtrans/gtrans_mk.c
@@ -0,0 +1,8 @@
+/*
+ * 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
+ */
+
+#include "gtrans.c"
diff --git a/src/gtrans/gtrans_options.h b/src/gtrans/gtrans_options.h
new file mode 100644
index 00000000..04193f85
--- /dev/null
+++ b/src/gtrans/gtrans_options.h
@@ -0,0 +1,21 @@
+/*
+ * 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/gtrans/gtrans_options.h
+ *
+ * @addtogroup GTRANS
+ * @{
+ */
+
+#ifndef _GTRANS_OPTIONS_H
+#define _GTRANS_OPTIONS_H
+
+
+
+#endif /* _GTRANS_OPTIONS_H */
+/** @} */
diff --git a/src/gtrans/gtrans_rules.h b/src/gtrans/gtrans_rules.h
new file mode 100644
index 00000000..e5d383ce
--- /dev/null
+++ b/src/gtrans/gtrans_rules.h
@@ -0,0 +1,22 @@
+/*
+ * 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/gtrans/gtrans_rules.h
+ *
+ * @addtogroup GTRANS
+ * @{
+ */
+
+#ifndef _GTRANS_RULES_H
+#define _GTRANS_RULES_H
+
+#if GFX_USE_GTRANS
+#endif
+
+#endif /* _GTRANS_RULES_H */
+/** @} */