|
@ -154,6 +154,12 @@ public class CDPlayer implements Device { |
|
|
cdWechseler.loadOneCD(cd,index); |
|
|
cdWechseler.loadOneCD(cd,index); |
|
|
System.out.println(index); |
|
|
System.out.println(index); |
|
|
} |
|
|
} |
|
|
|
|
|
public void changeToNextCD(){ |
|
|
|
|
|
if(activeSource.equals("CDDrive")){ |
|
|
|
|
|
throw new ChangeCDOnlyOnCDWechselerException(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
//Getters, Setters und SupportMethods |
|
|
//Getters, Setters und SupportMethods |
|
|
public void setCD(CD _loadedCD) { |
|
|
public void setCD(CD _loadedCD) { |
|
|