[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH 1/3] vterm: include-Verzeichnis anlegen
* vterm: Header in einem include-Verzeichnis koennen auch von
Unterverzeichnissen benutzt werden; solche im Hauptverzeichnis nicht.
Signed-off-by: Kevin Wolf <kevin@xxxxxxxxxx>
---
src/modules/vterm/include/keymap.h | 59 ++++++++++++++++++++++++++++++++++++
src/modules/vterm/keymap.h | 59 ------------------------------------
2 files changed, 59 insertions(+), 59 deletions(-)
create mode 100644 src/modules/vterm/include/keymap.h
delete mode 100644 src/modules/vterm/keymap.h
diff --git a/src/modules/vterm/include/keymap.h b/src/modules/vterm/include/keymap.h
new file mode 100644
index 0000000..668067e
--- /dev/null
+++ b/src/modules/vterm/include/keymap.h
@@ -0,0 +1,59 @@
+/*
+ * Copyright (c) 2008 The tyndur Project. All rights reserved.
+ *
+ * This code is derived from software contributed to the tyndur Project
+ * by Antoine Kaufmann.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * 3. All advertising materials mentioning features or use of this software
+ * must display the following acknowledgement:
+ * This product includes software developed by the tyndur Project
+ * and its contributors.
+ * 4. Neither the name of the tyndur Project nor the names of its
+ * contributors may be used to endorse or promote products derived
+ * from this software without specific prior written permission.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
+ * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
+ * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+ * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+ * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+ * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#ifndef _KEYMAP_H_
+#define _KEYMAP_H_
+#include <stdint.h>
+#include <stddef.h>
+
+/**
+ * Eintrag in der Keymap
+ */
+typedef struct keymap_entry {
+ wchar_t normal;
+ wchar_t shift;
+ wchar_t altgr;
+ wchar_t ctrl;
+} keymap_entry_t;
+
+/**
+ * Eintrag aus der Keymap auslesen
+ *
+ * @return Pointer auf den Eintrag oder NULL wenn keiner existiert
+ */
+keymap_entry_t* keymap_get(uint8_t keycode);
+
+#endif // ifndef _KEYMAP_H_
+
diff --git a/src/modules/vterm/keymap.h b/src/modules/vterm/keymap.h
deleted file mode 100644
index 668067e..0000000
--- a/src/modules/vterm/keymap.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright (c) 2008 The tyndur Project. All rights reserved.
- *
- * This code is derived from software contributed to the tyndur Project
- * by Antoine Kaufmann.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the tyndur Project
- * and its contributors.
- * 4. Neither the name of the tyndur Project nor the names of its
- * contributors may be used to endorse or promote products derived
- * from this software without specific prior written permission.
- *
- * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
- * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
- * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
- * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
- * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
- * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef _KEYMAP_H_
-#define _KEYMAP_H_
-#include <stdint.h>
-#include <stddef.h>
-
-/**
- * Eintrag in der Keymap
- */
-typedef struct keymap_entry {
- wchar_t normal;
- wchar_t shift;
- wchar_t altgr;
- wchar_t ctrl;
-} keymap_entry_t;
-
-/**
- * Eintrag aus der Keymap auslesen
- *
- * @return Pointer auf den Eintrag oder NULL wenn keiner existiert
- */
-keymap_entry_t* keymap_get(uint8_t keycode);
-
-#endif // ifndef _KEYMAP_H_
-
--
1.6.0.2