Updated Synthuse to list WPF and Silverlight Windows

The WpfBridge native library can now enumerate all WPF and Silverlight
Windows and list them in Synthuse.  Still need to add a method to
connect the Drag Target to locate the WPF window.
This commit is contained in:
Edward Jakubowski
2014-04-05 17:24:08 -04:00
parent d92f85e1b8
commit 1809e2ad55
14 changed files with 297 additions and 79 deletions

View File

@@ -1,9 +1,3 @@
/*
* Copyright 2014, Synthuse.org
* Released under the Apache Version 2.0 License.
*
* last modified by ejakubowski7@gmail.com
*/
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class org_synthuse_WpfBridge */
@@ -15,98 +9,114 @@ extern "C" {
#endif
/*
* Class: org_synthuse_WpfBridge
* Method: SetFrameworkId
* Method: setFrameworkId
* Signature: (Ljava/lang/String;)V
*/
JNIEXPORT void JNICALL Java_org_synthuse_WpfBridge_SetFrameworkId
JNIEXPORT void JNICALL Java_org_synthuse_WpfBridge_setFrameworkId
(JNIEnv *, jobject, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: CountDescendantWindows
* Method: countDescendantWindows
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_synthuse_WpfBridge_CountDescendantWindows__
JNIEXPORT jint JNICALL Java_org_synthuse_WpfBridge_countDescendantWindows__
(JNIEnv *, jobject);
/*
* Class: org_synthuse_WpfBridge
* Method: CountDescendantWindows
* Method: countDescendantWindows
* Signature: (Ljava/lang/String;)I
*/
JNIEXPORT jint JNICALL Java_org_synthuse_WpfBridge_CountDescendantWindows__Ljava_lang_String_2
JNIEXPORT jint JNICALL Java_org_synthuse_WpfBridge_countDescendantWindows__Ljava_lang_String_2
(JNIEnv *, jobject, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: CountChildrenWindows
* Method: countChildrenWindows
* Signature: ()I
*/
JNIEXPORT jint JNICALL Java_org_synthuse_WpfBridge_CountChildrenWindows__
JNIEXPORT jint JNICALL Java_org_synthuse_WpfBridge_countChildrenWindows__
(JNIEnv *, jobject);
/*
* Class: org_synthuse_WpfBridge
* Method: CountChildrenWindows
* Method: countChildrenWindows
* Signature: (Ljava/lang/String;)I
*/
JNIEXPORT jint JNICALL Java_org_synthuse_WpfBridge_CountChildrenWindows__Ljava_lang_String_2
JNIEXPORT jint JNICALL Java_org_synthuse_WpfBridge_countChildrenWindows__Ljava_lang_String_2
(JNIEnv *, jobject, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: EnumChildrenWindowIds
* Method: enumChildrenWindowIds
* Signature: (Ljava/lang/String;)[Ljava/lang/String;
*/
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_EnumChildrenWindowIds
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_enumChildrenWindowIds
(JNIEnv *, jobject, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: EnumDescendantWindowIds
* Method: enumDescendantWindowIds
* Signature: (Ljava/lang/String;)[Ljava/lang/String;
*/
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_EnumDescendantWindowIds__Ljava_lang_String_2
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_enumDescendantWindowIds__Ljava_lang_String_2
(JNIEnv *, jobject, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: EnumDescendantWindowIds
* Method: enumDescendantWindowIds
* Signature: (J)[Ljava/lang/String;
*/
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_EnumDescendantWindowIds__J
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_enumDescendantWindowIds__J
(JNIEnv *, jobject, jlong);
/*
* Class: org_synthuse_WpfBridge
* Method: EnumDescendantWindowIdsFromHandle
* Method: enumDescendantWindowIdsFromHandle
* Signature: (J)[Ljava/lang/String;
*/
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_EnumDescendantWindowIdsFromHandle
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_enumDescendantWindowIdsFromHandle
(JNIEnv *, jobject, jlong);
/*
* Class: org_synthuse_WpfBridge
* Method: GetProperty
* Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
* Method: enumDescendantWindowInfo
* Signature: (Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_synthuse_WpfBridge_GetProperty
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_enumDescendantWindowInfo
(JNIEnv *, jobject, jstring, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: GetProperties
* Signature: (Ljava/lang/String;)[Ljava/lang/String;
* Method: getParentRuntimeId
* Signature: (Ljava/lang/String;)Ljava/lang/String;
*/
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_GetProperties
JNIEXPORT jstring JNICALL Java_org_synthuse_WpfBridge_getParentRuntimeId
(JNIEnv *, jobject, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: GetPropertiesAndValues
* Method: getProperty
* Signature: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
*/
JNIEXPORT jstring JNICALL Java_org_synthuse_WpfBridge_getProperty
(JNIEnv *, jobject, jstring, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: getProperties
* Signature: (Ljava/lang/String;)[Ljava/lang/String;
*/
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_GetPropertiesAndValues
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_getProperties
(JNIEnv *, jobject, jstring);
/*
* Class: org_synthuse_WpfBridge
* Method: getPropertiesAndValues
* Signature: (Ljava/lang/String;)[Ljava/lang/String;
*/
JNIEXPORT jobjectArray JNICALL Java_org_synthuse_WpfBridge_getPropertiesAndValues
(JNIEnv *, jobject, jstring);
#ifdef __cplusplus