001    package cpw.mods.fml.relauncher;
002    
003    import javax.swing.JDialog;
004    
005    public interface IDownloadDisplay
006    {
007    
008        void resetProgress(int sizeGuess);
009    
010        void setPokeThread(Thread currentThread);
011    
012        void updateProgress(int fullLength);
013    
014        boolean shouldStopIt();
015    
016        void updateProgressString(String string, Object ... data);
017    
018        Object makeDialog();
019    
020        void makeHeadless();
021    
022    }