package net.osmand.data;


public class IndexConstants {
	
	// Important : Every time you change schema of db upgrade version!!! 
	// If you want that new application support old index : put upgrade code in android app ResourceManager
	public final static int POI_TABLE_VERSION = 1;
	public final static int BINARY_MAP_VERSION = 1; // starts with 1
	public final static int VOICE_VERSION = 0; //supported download versions
	public final static int TTSVOICE_VERSION = 1; //supported download versions
	
	public static final String POI_INDEX_DIR = "POI/"; //$NON-NLS-1$
	public static final String VOICE_INDEX_DIR = "voice/"; //$NON-NLS-1$
	public static final String RENDERERS_DIR = "rendering/"; //$NON-NLS-1$
	
	public static final String POI_INDEX_EXT = ".poi.odb"; //$NON-NLS-1$
	public static final String BINARY_MAP_INDEX_EXT = ".obf"; //$NON-NLS-1$
	
	public static final String POI_INDEX_EXT_ZIP = ".poi.zip"; //$NON-NLS-1$
	public static final String VOICE_INDEX_EXT_ZIP = ".voice.zip"; //$NON-NLS-1$
	public static final String TTSVOICE_INDEX_EXT_ZIP = ".ttsvoice.zip"; //$NON-NLS-1$
	public static final String ANYVOICE_INDEX_EXT_ZIP = "voice.zip"; //$NON-NLS-1$ //to cactch both voices, .voice.zip and .ttsvoice.zip
	public static final String BINARY_MAP_INDEX_EXT_ZIP = ".obf.zip"; //$NON-NLS-1$
	
	public static final String RENDERER_INDEX_EXT = ".render.xml"; //$NON-NLS-1$
	
	public final static String POI_TABLE = "poi"; //$NON-NLS-1$
	
}
