summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/QtUtils.java
blob: 886cb02a2fbcdc090e87dd25f726318416f9800e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package org.trinitydesktop.qt;

public class QtUtils {

	public interface Compute {
	    public Object run();
	}

	public static native Object execSyncOnGUIThread(Compute c);
	public static native void execSyncOnGUIThread(Runnable r);

	public static native void execAsyncOnGUIThread(Runnable r);

}