From 98eb8a36cfd0a7484e88a20d795385184d208bf9 Mon Sep 17 00:00:00 2001 From: Sebastian Kaspari Date: Tue, 2 Mar 2010 18:43:10 +0100 Subject: [PATCH] Broadcast events for channel and user actions --- src/org/yaaic/model/Broadcast.java | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/src/org/yaaic/model/Broadcast.java b/src/org/yaaic/model/Broadcast.java index b7a8445..8fbadae 100644 --- a/src/org/yaaic/model/Broadcast.java +++ b/src/org/yaaic/model/Broadcast.java @@ -22,5 +22,25 @@ package org.yaaic.model; public class Broadcast { - public static final String SERVER_UPDATE = "org.yaaic.server.status"; + public static final String SERVER_UPDATE = "org.yaaic.server.status"; + + public static final String CHANNEL_ACTION = "org.yaaic.channel.action"; + public static final String CHANNEL_INFO = "org.yaaic.channel.info"; + public static final String CHANNEL_DEOP = "org.yaaic.channel.deop"; + public static final String CHANNEL_DEVOICE = "org.yaaic.channel.devoice"; + public static final String CHANNEL_INVITE = "org.yaaic.channel.invite"; + public static final String CHANNEL_JOIN = "org.yaaic.channel.join"; + public static final String CHANNEL_KICK = "org.yaaic.channel.kick"; + public static final String CHANNEL_MESSAGE = "org.yaaic.channel.message"; + public static final String CHANNEL_MODE = "org.yaaic.channel.mode"; + public static final String CHANNEL_OP = "org.yaaic.channel.op"; + public static final String CHANNEL_PART = "org.yaaic.channel.part"; + public static final String CHANNEL_TOPIC = "org.yaaic.channel.topic"; + public static final String CHANNEL_USER = "org.yaaic.channel.user"; + public static final String CHANNEL_VOICE = "org.yaaic.channel.voice"; + + public static final String USER_NICK = "org.yaaic.user.nick"; + public static final String USER_NOTICE = "org.yaaic.user.notice"; + public static final String USER_MESSAGE = "org.yaaic.user.message"; + public static final String USER_QUIT = "org.yaaic.user.quit"; }