Nieuwe reorganisaties en onder andere Gui gebruikersvriendelijker gemaakt. Meeste dingen zouden moeten werken, maar toch nog testen!

This commit is contained in:
2012-03-03 21:01:44 +00:00
parent af6dcc4a78
commit 601e4a2464
39 changed files with 432 additions and 691 deletions

View File

@@ -1,6 +1,7 @@
package com.dt.iTunesController;
import com.jacob.activeX.ActiveXComponent;
import com.jacob.com.ComThread;
import com.jacob.com.Dispatch;
import com.jacob.com.DispatchEvents;
@@ -17,7 +18,7 @@ public class iTunes {
ActiveXComponent iTunes;
iTunesEvents iTunesEvents;
DispatchEvents dispatchEvents;
/**
* Initiate iTunes Controller.
* @return
@@ -25,7 +26,7 @@ public class iTunes {
public void connect() {
iTunes = new ActiveXComponent("iTunes.Application");
}
/**
* Add an event handler to the iTunes controller.
* @param itef The class that will handle the iTunes events.
@@ -531,4 +532,8 @@ public class iTunes {
public void playlistAddCurrentTrack(String name) {
playlistAddTrack(name, getCurrentTrack());
}
public void release() {
ComThread.Release();
}
}