2009-05-28 16:08:46 -04:00
|
|
|
/*
|
|
|
|
Yaaic - Yet Another Android IRC Client
|
|
|
|
|
2013-01-21 15:32:43 -05:00
|
|
|
Copyright 2009-2013 Sebastian Kaspari
|
2009-05-28 16:08:46 -04: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
|
|
|
*/
|
2009-12-17 15:27:57 -05:00
|
|
|
package org.yaaic.db;
|
2009-05-15 11:32:49 -04:00
|
|
|
|
|
|
|
import android.provider.BaseColumns;
|
|
|
|
|
2009-05-28 15:10:18 -04:00
|
|
|
/**
|
2010-04-25 06:05:09 -04:00
|
|
|
* Constants for the channel table
|
2009-05-28 15:10:18 -04:00
|
|
|
*
|
2009-12-17 15:27:57 -05:00
|
|
|
* @author Sebastian Kaspari <sebastian@yaaic.org>
|
2009-05-28 15:10:18 -04:00
|
|
|
*/
|
2009-05-15 11:32:49 -04:00
|
|
|
public interface ChannelConstants extends BaseColumns
|
|
|
|
{
|
2010-11-18 12:52:19 -05:00
|
|
|
public static final String TABLE_NAME = "channels";
|
2011-01-25 15:02:27 -05:00
|
|
|
|
2010-11-18 12:52:19 -05:00
|
|
|
// fields
|
2011-03-06 07:47:14 -05:00
|
|
|
public static final String NAME = "name";
|
2010-11-18 12:52:19 -05:00
|
|
|
public static final String PASSWORD = "password";
|
|
|
|
public static final String SERVER = "server";
|
2011-01-25 15:02:27 -05:00
|
|
|
|
2010-11-18 12:52:19 -05:00
|
|
|
/**
|
|
|
|
* All fields of the table
|
|
|
|
*/
|
|
|
|
public static final String[] ALL = {
|
|
|
|
NAME,
|
|
|
|
PASSWORD,
|
|
|
|
SERVER
|
|
|
|
};
|
2009-05-15 11:32:49 -04:00
|
|
|
}
|