mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-23 09:22:19 -05:00
Removed private description and moved to getDescription()
This commit is contained in:
parent
370a25c447
commit
d53dacfc32
@ -38,8 +38,6 @@ import android.content.Intent;
|
|||||||
*/
|
*/
|
||||||
public class CloseHandler extends BaseHandler
|
public class CloseHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc ="Closes the current window";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /close
|
* Execute /close
|
||||||
*/
|
*/
|
||||||
@ -80,7 +78,8 @@ public class CloseHandler extends BaseHandler
|
|||||||
* Description of /close
|
* Description of /close
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "Closes the current window";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,8 +39,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class DCCHandler extends BaseHandler
|
public class DCCHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "Send a file to a user";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /dcc
|
* Execute /dcc
|
||||||
*/
|
*/
|
||||||
@ -84,7 +82,8 @@ public class DCCHandler extends BaseHandler
|
|||||||
* Description of /dcc
|
* Description of /dcc
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "Send a file to a user";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class DeopHandler extends BaseHandler
|
public class DeopHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "";
|
|
||||||
/**
|
/**
|
||||||
* Execute /voice
|
* Execute /voice
|
||||||
*/
|
*/
|
||||||
@ -66,6 +65,6 @@ public class DeopHandler extends BaseHandler
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return desc;
|
return "Give a user voice status";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class DevoiceHandler extends BaseHandler
|
public class DevoiceHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "";
|
|
||||||
/**
|
/**
|
||||||
* Execute /devoice
|
* Execute /devoice
|
||||||
*/
|
*/
|
||||||
@ -66,6 +65,6 @@ public class DevoiceHandler extends BaseHandler
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return desc;
|
return "Remove voice status from a user";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,6 @@ import android.content.Intent;
|
|||||||
*/
|
*/
|
||||||
public class EchoHandler extends BaseHandler
|
public class EchoHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "";
|
|
||||||
/**
|
/**
|
||||||
* Execute /echo
|
* Execute /echo
|
||||||
*/
|
*/
|
||||||
@ -74,6 +73,6 @@ public class EchoHandler extends BaseHandler
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return desc;
|
return "Print text to window";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class JoinHandler extends BaseHandler
|
public class JoinHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "join a channel";
|
|
||||||
/**
|
/**
|
||||||
* Execute /join
|
* Execute /join
|
||||||
*/
|
*/
|
||||||
@ -62,7 +61,8 @@ public class JoinHandler extends BaseHandler
|
|||||||
* Description of /join
|
* Description of /join
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "join a channel";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class KickHandler extends BaseHandler
|
public class KickHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "kicks a user";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /kick
|
* Execute /kick
|
||||||
*/
|
*/
|
||||||
@ -68,6 +66,6 @@ public class KickHandler extends BaseHandler
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return desc;
|
return "kicks a user";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -38,8 +38,6 @@ import android.content.Intent;
|
|||||||
*/
|
*/
|
||||||
public class MeHandler extends BaseHandler
|
public class MeHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /me
|
* Execute /me
|
||||||
*/
|
*/
|
||||||
@ -81,7 +79,8 @@ public class MeHandler extends BaseHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "Perform an action";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class ModeHandler extends BaseHandler
|
public class ModeHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /mode
|
* Execute /mode
|
||||||
*/
|
*/
|
||||||
@ -62,7 +60,8 @@ public class ModeHandler extends BaseHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "Change channel modes";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,8 +39,6 @@ import android.content.Intent;
|
|||||||
*/
|
*/
|
||||||
public class NamesHandler extends BaseHandler
|
public class NamesHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "lists all users in channel";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /names
|
* Execute /names
|
||||||
*/
|
*/
|
||||||
@ -87,7 +85,8 @@ public class NamesHandler extends BaseHandler
|
|||||||
* Description of /names
|
* Description of /names
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "lists all users in channel";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class NickHandler extends BaseHandler
|
public class NickHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "change own nickname";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /nick
|
* Execute /nick
|
||||||
*/
|
*/
|
||||||
@ -62,7 +60,8 @@ public class NickHandler extends BaseHandler
|
|||||||
* Description of /nick
|
* Description of /nick
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "change own nickname";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,8 +40,6 @@ import android.content.Intent;
|
|||||||
*/
|
*/
|
||||||
public class NoticeHandler extends BaseHandler
|
public class NoticeHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "Send a notice to an other user";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /notice
|
* Execute /notice
|
||||||
*/
|
*/
|
||||||
@ -82,7 +80,8 @@ public class NoticeHandler extends BaseHandler
|
|||||||
* Description of /notice
|
* Description of /notice
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "Send a notice to an other user";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class OpHandler extends BaseHandler
|
public class OpHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /deop
|
* Execute /deop
|
||||||
*/
|
*/
|
||||||
@ -67,6 +65,6 @@ public class OpHandler extends BaseHandler
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return desc;
|
return "Give a user operator status";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -35,8 +35,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class PartHandler extends BaseHandler
|
public class PartHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "leave the current channel";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /part
|
* Execute /part
|
||||||
*/
|
*/
|
||||||
@ -67,6 +65,6 @@ public class PartHandler extends BaseHandler
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription() {
|
||||||
return desc;
|
return "leave the current channel";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,8 +39,6 @@ import android.content.Intent;
|
|||||||
*/
|
*/
|
||||||
public class QueryHandler extends BaseHandler
|
public class QueryHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "opens a private chat with a user";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /query
|
* Execute /query
|
||||||
*/
|
*/
|
||||||
@ -82,7 +80,8 @@ public class QueryHandler extends BaseHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "opens a private chat with a user";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class QuitHandler extends BaseHandler
|
public class QuitHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "leave current channel";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /quit
|
* Execute /quit
|
||||||
*/
|
*/
|
||||||
@ -62,7 +60,8 @@ public class QuitHandler extends BaseHandler
|
|||||||
* Description of /quit
|
* Description of /quit
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "disconnect from server";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class TopicHandler extends BaseHandler
|
public class TopicHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "show or change the current topic";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /topic
|
* Execute /topic
|
||||||
*/
|
*/
|
||||||
@ -73,7 +71,8 @@ public class TopicHandler extends BaseHandler
|
|||||||
* Description of /topic
|
* Description of /topic
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "show or change the current topic";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33,8 +33,6 @@ import org.yaaic.model.Server;
|
|||||||
*/
|
*/
|
||||||
public class VoiceHandler extends BaseHandler
|
public class VoiceHandler extends BaseHandler
|
||||||
{
|
{
|
||||||
private String desc = "";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Execute /voice
|
* Execute /voice
|
||||||
*/
|
*/
|
||||||
@ -66,7 +64,8 @@ public class VoiceHandler extends BaseHandler
|
|||||||
* Description of /voice
|
* Description of /voice
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public String getDescription() {
|
public String getDescription()
|
||||||
return desc;
|
{
|
||||||
|
return "Give a user voice status";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user