Changeset 159

Show
Ignore:
Timestamp:
04/13/07 16:37:07 (2 years ago)
Author:
jlee
Message:

This is a better name...yeah.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/org/thestaticvoid/iriverter/Converter.java

    r158 r159  
    2727        private Job[] jobs; 
    2828        private ProgressDialogInfo progressDialogInfo; 
    29         private DoSomeShit currentCommand; 
     29        private ShitToDo currentCommand; 
    3030        private List failures; 
    3131         
     
    4242                         
    4343                        try { 
    44                                 DoSomeShit[] shitToDo = jobs[i].getShitToDo(); 
     44                                ShitToDo[] shitToDo = jobs[i].getShitToDo(); 
    4545                                for (int j = 0; j < shitToDo.length; j++) { 
    4646                                        currentCommand = shitToDo[j]; 
  • trunk/src/org/thestaticvoid/iriverter/Job.java

    r158 r159  
    2424public interface Job { 
    2525        public String getDescription(); 
    26         public DoSomeShit[] getShitToDo(); 
     26        public ShitToDo[] getShitToDo(); 
    2727} 
  • trunk/src/org/thestaticvoid/iriverter/MencoderCommand.java

    r158 r159  
    2525import java.io.*; 
    2626 
    27 public class MencoderCommand implements DoSomeShit
     27public class MencoderCommand implements ShitToDo
    2828        private String description; 
    2929        private String[] command; 
  • trunk/src/org/thestaticvoid/iriverter/ShitToDo.java

    r158 r159  
    11/* 
    2  * DoSomeShit.java 
     2 * ShitToDo.java 
    33 * Copyright (C) 2005-2007 James Lee 
    44 * 
     
    2222package org.thestaticvoid.iriverter; 
    2323 
    24 public interface DoSomeShit
     24public interface ShitToDo
    2525        public void run(ProgressDialogInfo progressDialogInfo) throws FailedToDoSomeShit; 
    2626        public void cancel(); 
  • trunk/src/org/thestaticvoid/iriverter/SingleVideo.java

    r158 r159  
    132132        } 
    133133         
    134         public DoSomeShit[] getShitToDo() { 
     134        public ShitToDo[] getShitToDo() { 
    135135                java.util.List shitToDo = new ArrayList(); 
    136                  
    137136                 
    138137                java.util.List commandList = MencoderCommand.prepareBaseCommandList(inputVideo, getOutputVideo(), mplayerPath, inputVideoInfo, 0); 
     
    158157                } 
    159158                 
    160                 return (DoSomeShit[]) shitToDo.toArray(new DoSomeShit[]{}); 
     159                return (ShitToDo[]) shitToDo.toArray(new ShitToDo[]{}); 
    161160        } 
    162161}