Remove obsolete files

This commit is contained in:
2014-11-29 14:11:23 +00:00
parent f90056701c
commit 86a948320f
19 changed files with 6 additions and 176 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,45 +0,0 @@
package mimis.util;
import mimis.value.Registry;
import mimis.value.Windows;
public class Native {
static {
System.loadLibrary("mimis");
}
public native static int getHandle(String window);
public static int sendMessage(int handle, Windows windows, int wParam, int lParam) {
return sendMessage(handle, windows.getCode(), wParam, lParam);
}
public native static int sendMessage(int handle, int message, int wParam, int lParam);
public static int postMessage(int handle, Windows windows, int wParam, int lParam) {
return postMessage(handle, windows.getCode(), wParam, lParam);
}
public native static int postMessage(int handle, int message, int wParam, int lParam);
public static int mapVirtualKey(int code, Windows windows) {
return mapVirtualKey(code, windows.getCode());
}
public native static int mapVirtualKey(int code, int type);
public native static boolean isRunning(String program);
public native static boolean terminate(String program);
public static String getValue(Registry registry, String key) {
return getValue(registry, key, "");
}
public static String getValue(Registry registry, String key, String name) {
return getValue(registry.getCode(), key, name);
}
public native static String getValue(int registry, String key, String name);
}

View File

@@ -1,21 +0,0 @@
package mimis.value;
public enum Registry {
CLASSES_ROOT (0x80000000),
CURRENT_USER (0x80000001),
LOCAL_MACHINE (0x80000002),
USERS (0x80000003),
PERFORMANCE_DATA (0x80000004),
CURRENT_CONFIG (0x80000005),
DYN_DATA (0x80000006);
protected int code;
private Registry(int code) {
this.code = code;
}
public int getCode() {
return code;
}
}

View File

@@ -1,20 +0,0 @@
package mimis.value;
public enum Windows {
WM_CLOSE (0x0010),
WM_COMMAND (0x0111),
WM_SYSCOMMAND (0x0112),
WM_APPCOMMAND (0x0319),
WM_USER (0x0400),
MAPVK_VK_TO_VSC (0);
protected int code;
private Windows(int code) {
this.code = code;
}
public int getCode() {
return code;
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.