001/* 002 * Forge Mod Loader 003 * Copyright (c) 2012-2013 cpw. 004 * All rights reserved. This program and the accompanying materials 005 * are made available under the terms of the GNU Lesser Public License v2.1 006 * which accompanies this distribution, and is available at 007 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 008 * 009 * Contributors: 010 * cpw - implementation 011 */ 012 013package cpw.mods.fml.relauncher; 014 015import javax.swing.JDialog; 016 017public interface IDownloadDisplay 018{ 019 020 void resetProgress(int sizeGuess); 021 022 void setPokeThread(Thread currentThread); 023 024 void updateProgress(int fullLength); 025 026 boolean shouldStopIt(); 027 028 void updateProgressString(String string, Object ... data); 029 030 Object makeDialog(); 031 032 void makeHeadless(); 033 034}