Yaaic/src/org/yaaic/db/ChannelConstants.java

48 lines
1.2 KiB
Java
Raw Normal View History

2009-05-28 16:08:46 -04:00
/*
Yaaic - Yet Another Android IRC Client
2010-03-13 10:52:20 -05:00
Copyright 2009-2010 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/>.
*/
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
/**
2009-12-17 15:27:57 -05:00
* Constants for the channel database
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
{
public static final String TABLE_NAME = "channels";
2009-05-30 09:41:26 -04:00
// fields
2009-05-15 11:32:49 -04:00
public static final String NAME = "name";
public static final String PASSWORD = "password";
public static final String SERVER = "server";
2009-12-17 15:27:57 -05:00
/**
2010-03-12 13:48:58 -05:00
* All fields of the table
2009-12-17 15:27:57 -05:00
*/
2009-05-15 11:32:49 -04:00
public static final String[] ALL = {
NAME,
PASSWORD,
SERVER
};
}