/* * Created by Angel Leon (@gubatron), Alden Torres (aldenml) * Copyright (c) 2011-2014, FrostWire(R). All rights reserved. * * This program 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. * * This program 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 this program. If not, see <http://www.gnu.org/licenses/>. */ package com.frostwire.core; /** * Static class containing all constants in one place. * * @author gubatron * @author aldenml * */ public interface CommonConstants { // generic file types public static final byte FILE_TYPE_AUDIO = 0x00; public static final byte FILE_TYPE_PICTURES = 0x01; public static final byte FILE_TYPE_VIDEOS = 0x02; public static final byte FILE_TYPE_DOCUMENTS = 0x03; public static final byte FILE_TYPE_APPLICATIONS = 0x04; public static final byte FILE_TYPE_RINGTONES = 0x05; public static final byte FILE_TYPE_TORRENTS = 0x06; public static final String MIME_TYPE_ANDROID_PACKAGE_ARCHIVE = "application/vnd.android.package-archive"; // device types public static final int DEVICE_MAJOR_TYPE_DESKTOP = 0; public static final int DEVICE_MAJOR_TYPE_PHONE = 1; public static final int DEVICE_MAJOR_TYPE_TABLET = 2; }