2010-03-12 14:35:25 -05:00
|
|
|
/*
|
|
|
|
Yaaic - Yet Another Android IRC Client
|
|
|
|
|
2010-03-13 10:52:20 -05:00
|
|
|
Copyright 2009-2010 Sebastian Kaspari
|
2010-03-12 14:35:25 -05:00
|
|
|
|
|
|
|
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/>.
|
2011-01-25 15:02:27 -05:00
|
|
|
*/
|
2010-03-10 03:37:48 -05:00
|
|
|
package org.yaaic.model;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* A query (a private chat between to users)
|
|
|
|
*
|
|
|
|
* @author Sebastian Kaspari <sebastian@yaaic.org>
|
|
|
|
*/
|
|
|
|
public class Query extends Conversation
|
|
|
|
{
|
2010-11-18 12:52:19 -05:00
|
|
|
/**
|
|
|
|
* Create a new query
|
|
|
|
*
|
|
|
|
* @param name The user's nickname
|
|
|
|
*/
|
|
|
|
public Query(String name)
|
|
|
|
{
|
|
|
|
super(name);
|
|
|
|
}
|
2011-01-25 15:02:27 -05:00
|
|
|
|
2010-11-18 12:52:19 -05:00
|
|
|
/**
|
|
|
|
* Get the type of this conversation
|
|
|
|
*/
|
2011-01-25 15:02:27 -05:00
|
|
|
@Override
|
2010-11-18 12:52:19 -05:00
|
|
|
public int getType()
|
|
|
|
{
|
|
|
|
return Conversation.TYPE_QUERY;
|
|
|
|
}
|
2010-03-10 03:37:48 -05:00
|
|
|
}
|