summaryrefslogtreecommitdiffstats
path: root/lua
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2010-06-21 14:19:35 +0800
committerPeng Wu <alexepico@gmail.com>2010-06-21 14:19:35 +0800
commit804df27528b7328b62b3a30f11e65b948f7691d1 (patch)
treedeee2dc4916251b28c7ca32ae7c4bc3e6ec61b39 /lua
parent34bbe4c76b28368411cf921705c8c62fd4da975a (diff)
downloadibus-libpinyin-804df27528b7328b62b3a30f11e65b948f7691d1.tar.gz
ibus-libpinyin-804df27528b7328b62b3a30f11e65b948f7691d1.tar.xz
ibus-libpinyin-804df27528b7328b62b3a30f11e65b948f7691d1.zip
add license for lua ext mode.
Diffstat (limited to 'lua')
-rw-r--r--lua/lua-ext-console.c22
-rw-r--r--lua/lua-plugin-init.c22
-rw-r--r--lua/lua-plugin.c22
-rw-r--r--lua/lua-plugin.h22
-rw-r--r--lua/test-lua-plugin.c22
5 files changed, 110 insertions, 0 deletions
diff --git a/lua/lua-ext-console.c b/lua/lua-ext-console.c
index a02b55a..ee7e72e 100644
--- a/lua/lua-ext-console.c
+++ b/lua/lua-ext-console.c
@@ -1,3 +1,25 @@
+/* vim:set et ts=4 sts=4:
+ *
+ * ibus-pinyin - The Chinese PinYin engine for IBus
+ *
+ * Copyright (c) 2010 Peng Wu <alexepico@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+
#define _GNU_SOURCE
#include <stdio.h>
#include <string.h>
diff --git a/lua/lua-plugin-init.c b/lua/lua-plugin-init.c
index 901f62e..46e82f8 100644
--- a/lua/lua-plugin-init.c
+++ b/lua/lua-plugin-init.c
@@ -1,3 +1,25 @@
+/* vim:set et ts=4 sts=4:
+ *
+ * ibus-pinyin - The Chinese PinYin engine for IBus
+ *
+ * Copyright (c) 2010 Peng Wu <alexepico@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+
#include <stdio.h>
#include <string.h>
#include <glib.h>
diff --git a/lua/lua-plugin.c b/lua/lua-plugin.c
index e2c68f2..46dd1c2 100644
--- a/lua/lua-plugin.c
+++ b/lua/lua-plugin.c
@@ -1,3 +1,25 @@
+/* vim:set et ts=4 sts=4:
+ *
+ * ibus-pinyin - The Chinese PinYin engine for IBus
+ *
+ * Copyright (c) 2010 Peng Wu <alexepico@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+
#include <string.h>
#include <stdlib.h>
#include <lua.h>
diff --git a/lua/lua-plugin.h b/lua/lua-plugin.h
index 11c024f..a7f37cd 100644
--- a/lua/lua-plugin.h
+++ b/lua/lua-plugin.h
@@ -1,3 +1,25 @@
+/* vim:set et ts=4 sts=4:
+ *
+ * ibus-pinyin - The Chinese PinYin engine for IBus
+ *
+ * Copyright (c) 2010 Peng Wu <alexepico@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+
#ifndef LUA_PLUGIN_H
#define LUA_PLUGIN_H
diff --git a/lua/test-lua-plugin.c b/lua/test-lua-plugin.c
index c9bf853..1db0239 100644
--- a/lua/test-lua-plugin.c
+++ b/lua/test-lua-plugin.c
@@ -1,3 +1,25 @@
+/* vim:set et ts=4 sts=4:
+ *
+ * ibus-pinyin - The Chinese PinYin engine for IBus
+ *
+ * Copyright (c) 2010 Peng Wu <alexepico@gmail.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ */
+
+
#include <stdio.h>
#include <glib.h>