Ignore:
Timestamp:
04/13/07 19:28:10 (5 years ago)
Author:
jlee
Message:

New ProgressDialog?; new directory handling; DnD still needs to be fixed now; other job types still need work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/thestaticvoid/iriverter/MencoderCommand.java

    r157 r158  
    2525import java.io.*; 
    2626 
    27 public class MencoderCommand { 
     27public class MencoderCommand implements DoSomeShit { 
    2828        private String description; 
    2929        private String[] command; 
     
    3535        } 
    3636         
    37         public int run(ProgressDialogInfo progressDialogInfo) { 
     37        public void run(ProgressDialogInfo progressDialogInfo) throws FailedToDoSomeShit { 
    3838                int exitCode = 1; 
    3939                 
     
    4545                        commandStr += command[i] + " "; 
    4646                Logger.logMessage(description + " " + commandStr, Logger.INFO); 
     47                 
     48                progressDialogInfo.setSubdescription(description); 
    4749                 
    4850                try { 
     
    5961                } 
    6062                 
    61                 return exitCode; 
     63                if (exitCode > 0) 
     64                        throw new FailedToDoSomeShit(description); 
    6265        } 
    6366         
Note: See TracChangeset for help on using the changeset viewer.