Commit ac2199fe authored by petter's avatar petter
Browse files

full qualified class names

git-svn-id: https://www2.in.tum.de/repos/ttt/trunk@33 0463f305-d864-43cb-8a47-61cf597d4139
parent 02e861cf
......@@ -15,9 +15,9 @@ public final class OSUtils {
WebCamControl WBC = null;
String cam = null;
if (OSUtils.isWindows()) {
cam = "WindowsCam";
cam = "ttt.videoRecorder.WindowsCam";
} else
cam = "LinuxCam";
cam = "ttt.videoRecorder.LinuxCam";
try {
Class clazz = Class.forName(cam);
WBC = (WebCamControl) clazz.getConstructors()[0].newInstance(null);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment