1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-17 06:25:01 -05:00
Yaaic/application/src/org/yaaic/model/ServerInfo.java
2011-02-05 13:00:12 +01:00

51 lines
1.2 KiB
Java

/*
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.model;
/**
* ServerInfo for all messages regarding the server
*
* @author Sebastian Kaspari <sebastian@yaaic.org>
*/
public class ServerInfo extends Conversation
{
public static final String DEFAULT_NAME = "";
/**
* Create a new ServerInfo object
*
* @param name
*/
public ServerInfo()
{
super(DEFAULT_NAME);
}
/**
* Get the type of this conversation
*/
@Override
public int getType()
{
return Conversation.TYPE_SERVER;
}
}