diff options
author | javier <javier@pcjavier.(none)> | 2010-11-07 03:00:56 +0100 |
---|---|---|
committer | javier <javier@pcjavier.(none)> | 2010-11-07 03:00:56 +0100 |
commit | 2ab60ecb15ab1a7e30226563a15bbeec05dda54d (patch) | |
tree | c117593d0687b274f66898c9d54b4ea9ffb01e33 /data | |
download | cfmradio-2ab60ecb15ab1a7e30226563a15bbeec05dda54d.tar.gz cfmradio-2ab60ecb15ab1a7e30226563a15bbeec05dda54d.zip |
initial import
Diffstat (limited to 'data')
-rw-r--r-- | data/cfmradio.desktop | 9 | ||||
-rw-r--r-- | data/cfmradio.service | 3 | ||||
-rw-r--r-- | data/codetables.utf8 | 14 | ||||
-rw-r--r-- | data/icon.png | bin | 0 -> 2916 bytes | |||
-rw-r--r-- | data/make-table.c | 32 |
5 files changed, 58 insertions, 0 deletions
diff --git a/data/cfmradio.desktop b/data/cfmradio.desktop new file mode 100644 index 0000000..3f342e9 --- /dev/null +++ b/data/cfmradio.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Name=Radio +Exec=/usr/bin/cfmradio +Icon=cfmradio +X-Osso-Service=com.javispedro.cfmradio +X-Osso-Type=application/x-executable diff --git a/data/cfmradio.service b/data/cfmradio.service new file mode 100644 index 0000000..6c94f2b --- /dev/null +++ b/data/cfmradio.service @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=com.javispedro.cfmradio +Exec=/usr/bin/cfmradio diff --git a/data/codetables.utf8 b/data/codetables.utf8 new file mode 100644 index 0000000..0be19e3 --- /dev/null +++ b/data/codetables.utf8 @@ -0,0 +1,14 @@ + !"#¤%&'()*+,-./ +0123456789:;<=>? +@ABCDEFGHIJKLMNO +PQRSTUVWXYZ[\] + abcdefghijklmno +pqrstuvwxyz{|} +áàéèíìóòúùÑÇŞß¡IJ +âäêëîïôöûüñçşğ?ij +ªα©‰Ǧĕňőπ?£$←↑→↓ +º¹²³±İńűμ¿÷°¼½¾§ +ÁÀÉÈÍÌÓÒÚÙŘČŠŽĐĽ +ÂÄÊËÎÏÔÖÛÜřčšžďľ +ÃÅÆŒŷÝÕØþŊŔĆŚŹ?ð +ãåæœŵýõøþŋŕćśź? diff --git a/data/icon.png b/data/icon.png Binary files differnew file mode 100644 index 0000000..7f9cbc1 --- /dev/null +++ b/data/icon.png diff --git a/data/make-table.c b/data/make-table.c new file mode 100644 index 0000000..9afca7d --- /dev/null +++ b/data/make-table.c @@ -0,0 +1,32 @@ +#include <glib.h> + +int main(int argc, char **argv) { + GError *error = NULL; + gchar *data; + if (!g_file_get_contents("codetables.utf8", &data, NULL, &error)) { + g_printerr("Failed to open %s: %s\n", error->message); + return 1; + } + + gint i; + guint count = 0; + + for (i = 0; i < 0x20; i++) { + g_print("\t%u,\t/* %u */\n", 0, count); + count++; + } + + gchar * c = data; + while (*c) { + if (*c != '\n') { + gunichar u = g_utf8_get_char(c); + g_print("\t%u,\t/* %u */\n", u, count); + count++; + } + c = g_utf8_next_char(c); + } + + g_printerr("Total elements = %d\n", count); + + return 0; +} |