2015-05-06 13:53:55 -07:00
|
|
|
package org.thoughtcrime.securesms.components.emoji;
|
|
|
|
|
|
|
|
|
|
import android.support.annotation.DrawableRes;
|
|
|
|
|
import android.support.annotation.NonNull;
|
|
|
|
|
|
2015-05-14 21:08:37 -07:00
|
|
|
public class StaticEmojiPageModel extends EmojiPageModel {
|
2015-05-06 13:53:55 -07:00
|
|
|
@DrawableRes private final int icon;
|
|
|
|
|
@NonNull private final int[] codePoints;
|
|
|
|
|
|
|
|
|
|
public StaticEmojiPageModel(@DrawableRes int icon, @NonNull int[] codePoints) {
|
|
|
|
|
this.icon = icon;
|
|
|
|
|
this.codePoints = codePoints;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getIconRes() {
|
|
|
|
|
return icon;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@NonNull public int[] getCodePoints() {
|
|
|
|
|
return codePoints;
|
|
|
|
|
}
|
|
|
|
|
}
|