Remove unneeded function and imports from Limelight

This commit is contained in:
Iwan Timmer
2014-01-07 21:10:24 +01:00
parent 58f3d1bb79
commit 51d786f815

View File

@@ -1,21 +1,16 @@
package com.limelight;
import java.io.File;
import java.io.IOException;
import java.io.PrintStream;
import com.limelight.binding.LibraryHelper;
import com.limelight.binding.PlatformBinding;
import com.limelight.input.gamepad.Gamepad;
import com.limelight.input.gamepad.GamepadListener;
import com.limelight.input.gamepad.NativeGamepad;
import com.limelight.nvstream.NvConnection;
import com.limelight.nvstream.NvConnectionListener;
import com.limelight.nvstream.StreamConfiguration;
import com.limelight.nvstream.av.video.VideoDecoderRenderer;
import com.limelight.nvstream.http.NvHTTP;
import com.limelight.settings.PreferencesManager;
import com.limelight.settings.PreferencesManager.Preferences;
import com.limelight.settings.PreferencesManager.Preferences.Resolution;
import java.net.InetAddress;
import java.net.SocketException;
@@ -118,19 +113,6 @@ public class Limelight implements NvConnectionListener {
}
}
/**
* Creates a new instance and starts the stream.
* @param host the host pc to connect to. Can be a hostname or IP address.
*/
public static void createInstance(String host) {
Limelight limelight = new Limelight(host);
Preferences prefs = PreferencesManager.getPreferences();
StreamConfiguration streamConfig = createConfiguration(prefs.getResolution());
limelight.startUp(streamConfig, prefs.getFullscreen());
}
/**
* The entry point for the application. <br>
* Does some initializations and then creates the main frame.