libbluray | branch: master | hpi1 <[email protected]> | Tue Apr 9 10:31:31 2013 +0300| [06c66c58c1783bb44384fac8a0f4dd07872e7b0f] | committer: hpi1
Added wrapper for Thread.stop() (does not exist in PhoneME) > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=06c66c58c1783bb44384fac8a0f4dd07872e7b0f --- .../bdj/java-j2me/org/videolan/PortingHelper.java | 29 ++++++++++++++++++ .../bdj/java-j2se/org/videolan/PortingHelper.java | 31 ++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/src/libbluray/bdj/java-j2me/org/videolan/PortingHelper.java b/src/libbluray/bdj/java-j2me/org/videolan/PortingHelper.java new file mode 100644 index 0000000..b8b4ffc --- /dev/null +++ b/src/libbluray/bdj/java-j2me/org/videolan/PortingHelper.java @@ -0,0 +1,29 @@ +/* + * This file is part of libbluray + * Copyright (C) 2013 Petri Hintukainen <[email protected]> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see + * <http://www.gnu.org/licenses/>. + */ + +package org.videolan; + +public class PortingHelper { + + public static void stopThread(Thread t) { + } + + public static void stopThreadGroup(ThreadGroup t) { + } +} diff --git a/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java b/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java new file mode 100644 index 0000000..b416ec0 --- /dev/null +++ b/src/libbluray/bdj/java-j2se/org/videolan/PortingHelper.java @@ -0,0 +1,31 @@ +/* + * This file is part of libbluray + * Copyright (C) 2013 Petri Hintukainen <[email protected]> + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library. If not, see + * <http://www.gnu.org/licenses/>. + */ + +package org.videolan; + +public class PortingHelper { + + public static void stopThread(Thread t) { + t.stop(); + } + + public static void stopThreadGroup(ThreadGroup t) { + t.stop(); + } +} _______________________________________________ libbluray-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libbluray-devel
