1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04:00

Added licence header to new files

This commit is contained in:
Sebastian Kaspari 2011-03-27 19:53:05 +02:00
parent ac1a07894f
commit 673598ad31
2 changed files with 42 additions and 4 deletions

View File

@ -1,3 +1,23 @@
/*
Yaaic - Yet Another Android IRC Client
Copyright 2009-2011 Sebastian Kaspari
This file is part of Yaaic.
Yaaic 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 3 of the License, or
(at your option) any later version.
Yaaic 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 Yaaic. If not, see <http://www.gnu.org/licenses/>.
*/
package org.yaaic.utils;
import java.util.ArrayList;
@ -14,7 +34,6 @@ import android.text.style.ForegroundColorSpan;
import android.text.style.StyleSpan;
import android.text.style.UnderlineSpan;
public class MircColors {
/*
* Colors from the "Classic" theme in mIRC.

View File

@ -1,3 +1,23 @@
/*
Yaaic - Yet Another Android IRC Client
Copyright 2009-2011 Sebastian Kaspari
This file is part of Yaaic.
Yaaic 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 3 of the License, or
(at your option) any later version.
Yaaic 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 Yaaic. If not, see <http://www.gnu.org/licenses/>.
*/
package org.yaaic.utils;
import java.util.HashMap;
@ -13,7 +33,6 @@ import android.text.SpannableString;
import android.text.style.ImageSpan;
import android.util.Log;
public class Smilies {
public static final HashMap<String, Integer> mappings = new HashMap<String, Integer>();
private Smilies() {}
@ -59,8 +78,8 @@ public class Smilies {
mappings.put(":-!", R.drawable.smiley_foot_in_mouth);
mappings.put(":'(", R.drawable.smiley_cry);
mappings.put(":'-(", R.drawable.smiley_cry);
mappings.put(":´(", R.drawable.smiley_cry);
mappings.put(":´-(", R.drawable.smiley_cry);
mappings.put(":<EFBFBD>(", R.drawable.smiley_cry);
mappings.put(":<EFBFBD>-(", R.drawable.smiley_cry);
mappings.put(":X", R.drawable.smiley_sealed);
mappings.put(":-X", R.drawable.smiley_sealed);