[sikuli] 107/385: WinUtil.dll needed to be rebuilt because package was renamed and it was never built under Windows since then.

Gilles Filippini pini at moszumanska.debian.org
Sun Jun 29 19:25:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

pini pushed a commit to tag upstream/1.1.0_beta1
in repository sikuli.

commit fb46baabbe9ada398054278c614f844bbbde85e4
Author: Ireneusz Matysiewicz <iirekm at gmail.com>
Date:   Sun Jan 5 16:45:00 2014 +0100

    WinUtil.dll needed to be rebuilt because package was renamed and it was never built under Windows since then.
---
 Libs/build/windows/SikuliDLLs/.gitignore           |   3 +
 Libs/build/windows/SikuliDLLs/SikuliDLLs.sln       |  22 +++++
 Libs/build/windows/SikuliDLLs/WinUtil/.gitignore   |   1 +
 .../windows/SikuliDLLs/WinUtil/WinUtil.vcxproj     |  94 +++++++++++++++++++++
 .../SikuliDLLs/WinUtil/WinUtil.vcxproj.filters     |  30 +++++++
 .../META-INF/libs/windows/libs32/WinUtil.dll       | Bin 15872 -> 70656 bytes
 Natives/src/main/native/OSUtil/Windows/WinUtil.cc  |  24 +++---
 .../OSUtil/Windows/org_sikuli_natives_WinUtil.h    |  93 ++++++++++++++++++++
 .../OSUtil/Windows/org_sikuli_system_WinUtil.h     |  93 --------------------
 9 files changed, 255 insertions(+), 105 deletions(-)

diff --git a/Libs/build/windows/SikuliDLLs/.gitignore b/Libs/build/windows/SikuliDLLs/.gitignore
new file mode 100644
index 0000000..cf7cfca
--- /dev/null
+++ b/Libs/build/windows/SikuliDLLs/.gitignore
@@ -0,0 +1,3 @@
+Debug
+SikuliDLLs.sdf
+SikuliDLLs.v12.suo
\ No newline at end of file
diff --git a/Libs/build/windows/SikuliDLLs/SikuliDLLs.sln b/Libs/build/windows/SikuliDLLs/SikuliDLLs.sln
new file mode 100644
index 0000000..4d02f1c
--- /dev/null
+++ b/Libs/build/windows/SikuliDLLs/SikuliDLLs.sln
@@ -0,0 +1,22 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2013 for Windows Desktop
+VisualStudioVersion = 12.0.21005.1
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WinUtil", "WinUtil\WinUtil.vcxproj", "{C7550554-C837-4984-B7AE-A6532DDB6D3F}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Win32 = Debug|Win32
+		Release|Win32 = Release|Win32
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{C7550554-C837-4984-B7AE-A6532DDB6D3F}.Debug|Win32.ActiveCfg = Debug|Win32
+		{C7550554-C837-4984-B7AE-A6532DDB6D3F}.Debug|Win32.Build.0 = Debug|Win32
+		{C7550554-C837-4984-B7AE-A6532DDB6D3F}.Release|Win32.ActiveCfg = Release|Win32
+		{C7550554-C837-4984-B7AE-A6532DDB6D3F}.Release|Win32.Build.0 = Release|Win32
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal
diff --git a/Libs/build/windows/SikuliDLLs/WinUtil/.gitignore b/Libs/build/windows/SikuliDLLs/WinUtil/.gitignore
new file mode 100644
index 0000000..329d484
--- /dev/null
+++ b/Libs/build/windows/SikuliDLLs/WinUtil/.gitignore
@@ -0,0 +1 @@
+Debug
diff --git a/Libs/build/windows/SikuliDLLs/WinUtil/WinUtil.vcxproj b/Libs/build/windows/SikuliDLLs/WinUtil/WinUtil.vcxproj
new file mode 100644
index 0000000..2125805
--- /dev/null
+++ b/Libs/build/windows/SikuliDLLs/WinUtil/WinUtil.vcxproj
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup Label="ProjectConfigurations">
+    <ProjectConfiguration Include="Debug|Win32">
+      <Configuration>Debug</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+    <ProjectConfiguration Include="Release|Win32">
+      <Configuration>Release</Configuration>
+      <Platform>Win32</Platform>
+    </ProjectConfiguration>
+  </ItemGroup>
+  <PropertyGroup Label="Globals">
+    <ProjectGuid>{C7550554-C837-4984-B7AE-A6532DDB6D3F}</ProjectGuid>
+    <Keyword>Win32Proj</Keyword>
+    <RootNamespace>WinUtil</RootNamespace>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <UseDebugLibraries>true</UseDebugLibraries>
+    <PlatformToolset>v120</PlatformToolset>
+    <CharacterSet>NotSet</CharacterSet>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
+    <ConfigurationType>DynamicLibrary</ConfigurationType>
+    <UseDebugLibraries>false</UseDebugLibraries>
+    <PlatformToolset>v120</PlatformToolset>
+    <WholeProgramOptimization>true</WholeProgramOptimization>
+    <CharacterSet>Unicode</CharacterSet>
+  </PropertyGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+  <ImportGroup Label="ExtensionSettings">
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+  </ImportGroup>
+  <PropertyGroup Label="UserMacros" />
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <LinkIncremental>true</LinkIncremental>
+    <IncludePath>..\..\..\..\..\Natives\src\main\native\OSUtil\Windows;%JAVA_HOME%\include;%JAVA_HOME%\include\win32;$(IncludePath)</IncludePath>
+    <LibraryPath>%JAVA_HOME%\lib;$(LibraryPath)</LibraryPath>
+  </PropertyGroup>
+  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <LinkIncremental>false</LinkIncremental>
+  </PropertyGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
+    <ClCompile>
+      <PrecompiledHeader>NotUsing</PrecompiledHeader>
+      <WarningLevel>Level3</WarningLevel>
+      <Optimization>Disabled</Optimization>
+      <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;WINUTIL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <SDLCheck>true</SDLCheck>
+    </ClCompile>
+    <Link>
+      <SubSystem>Windows</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <AdditionalDependencies>jawt.lib;%(AdditionalDependencies)</AdditionalDependencies>
+      <OutputFile>..\..\..\..\src\main\resources\META-INF\libs\windows\libs32\$(TargetName)$(TargetExt)</OutputFile>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
+    <ClCompile>
+      <WarningLevel>Level3</WarningLevel>
+      <PrecompiledHeader>Use</PrecompiledHeader>
+      <Optimization>MaxSpeed</Optimization>
+      <FunctionLevelLinking>true</FunctionLevelLinking>
+      <IntrinsicFunctions>true</IntrinsicFunctions>
+      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;WINUTIL_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+      <SDLCheck>true</SDLCheck>
+    </ClCompile>
+    <Link>
+      <SubSystem>Windows</SubSystem>
+      <GenerateDebugInformation>true</GenerateDebugInformation>
+      <EnableCOMDATFolding>true</EnableCOMDATFolding>
+      <OptimizeReferences>true</OptimizeReferences>
+    </Link>
+  </ItemDefinitionGroup>
+  <ItemGroup>
+    <Text Include="ReadMe.txt" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="..\..\..\..\..\Natives\src\main\native\OSUtil\Windows\WinUtil.cc" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\..\..\..\Natives\src\main\native\OSUtil\Windows\org_sikuli_natives_WinUtil.h" />
+  </ItemGroup>
+  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+  <ImportGroup Label="ExtensionTargets">
+  </ImportGroup>
+</Project>
\ No newline at end of file
diff --git a/Libs/build/windows/SikuliDLLs/WinUtil/WinUtil.vcxproj.filters b/Libs/build/windows/SikuliDLLs/WinUtil/WinUtil.vcxproj.filters
new file mode 100644
index 0000000..26a2762
--- /dev/null
+++ b/Libs/build/windows/SikuliDLLs/WinUtil/WinUtil.vcxproj.filters
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <ItemGroup>
+    <Filter Include="Source Files">
+      <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
+      <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
+    </Filter>
+    <Filter Include="Header Files">
+      <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
+      <Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
+    </Filter>
+    <Filter Include="Resource Files">
+      <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
+      <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
+    </Filter>
+  </ItemGroup>
+  <ItemGroup>
+    <Text Include="ReadMe.txt" />
+  </ItemGroup>
+  <ItemGroup>
+    <ClCompile Include="..\..\..\..\..\Natives\src\main\native\OSUtil\Windows\WinUtil.cc">
+      <Filter>Source Files</Filter>
+    </ClCompile>
+  </ItemGroup>
+  <ItemGroup>
+    <ClInclude Include="..\..\..\..\..\Natives\src\main\native\OSUtil\Windows\org_sikuli_natives_WinUtil.h">
+      <Filter>Header Files</Filter>
+    </ClInclude>
+  </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/Libs/src/main/resources/META-INF/libs/windows/libs32/WinUtil.dll b/Libs/src/main/resources/META-INF/libs/windows/libs32/WinUtil.dll
index 3cdb8bb..dcec4e2 100644
Binary files a/Libs/src/main/resources/META-INF/libs/windows/libs32/WinUtil.dll and b/Libs/src/main/resources/META-INF/libs/windows/libs32/WinUtil.dll differ
diff --git a/Natives/src/main/native/OSUtil/Windows/WinUtil.cc b/Natives/src/main/native/OSUtil/Windows/WinUtil.cc
index efb5a60..606d617 100755
--- a/Natives/src/main/native/OSUtil/Windows/WinUtil.cc
+++ b/Natives/src/main/native/OSUtil/Windows/WinUtil.cc
@@ -3,7 +3,7 @@
  * Released under the MIT License.
  *
  */
-#include "org_sikuli_system_WinUtil.h"
+#include "org_sikuli_natives_WinUtil.h"
 #include "windows.h"
 #include <jawt.h>
 #include <jawt_md.h>
@@ -126,7 +126,7 @@ static BOOL CALLBACK findWindowHandleByPid(HWND handle, long lParam){
    return TRUE;
 }
 
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_switchApp__Ljava_lang_String_2I 
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_switchApp__Ljava_lang_String_2I
   (JNIEnv *env, jobject jobj, jstring jAppName, jint jWinNum){
 
    gAppName = env->GetStringUTFChars(jAppName, NULL);
@@ -135,12 +135,12 @@ JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_switchApp__Ljava_lang_Stri
    BOOL result = EnumWindows((WNDENUMPROC)focusWinByAppName, 0);
    env->ReleaseStringUTFChars(jAppName, gAppName);
    if(result != 0){ // switch failed. open it
-      return Java_org_sikuli_system_WinUtil_openApp(env, jobj, jAppName);
+      return Java_org_sikuli_natives_WinUtil_openApp(env, jobj, jAppName);
    }
    return gPid;
 }
 
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_switchApp__II
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_switchApp__II
   (JNIEnv *env, jobject jobj, jint jPid, jint jWinNum){
    gPid = jPid;
    gWinNum = jWinNum;
@@ -151,7 +151,7 @@ JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_switchApp__II
    return jPid;
 }
 
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_openApp
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_openApp
   (JNIEnv *env, jobject jobj, jstring jAppName){
 //returns PID, or 0 if failed.
    char *appName = (char *)env->GetStringUTFChars(jAppName, NULL);
@@ -173,7 +173,7 @@ JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_openApp
    return pi.dwProcessId;
 }
 
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_closeApp__I
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_closeApp__I
   (JNIEnv *env, jobject jobj, jint jPid){
   
    gPid = jPid;
@@ -183,7 +183,7 @@ JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_closeApp__I
    return 0;
 }
 
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_closeApp__Ljava_lang_String_2
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_closeApp__Ljava_lang_String_2
   (JNIEnv *env, jobject jobj, jstring jAppName){
    gAppName = env->GetStringUTFChars(jAppName, NULL);
    BOOL result = EnumWindows((WNDENUMPROC)killWindowByAppName, 0);
@@ -290,7 +290,7 @@ void makeClickThrough( HWND windowHandle ){
 //     LWA_COLORKEY );
 }
 
-JNIEXPORT void JNICALL Java_org_sikuli_system_WinUtil_bringWindowToFront
+JNIEXPORT void JNICALL Java_org_sikuli_natives_WinUtil_bringWindowToFront
   (JNIEnv *env, jobject jobj, jobject jwin, jboolean jIgnoreMouse){   
    HWND hwnd = getHwndFromComponent(jwin, env);
   setLayeredAndTransparent(hwnd);
@@ -298,7 +298,7 @@ JNIEXPORT void JNICALL Java_org_sikuli_system_WinUtil_bringWindowToFront
   //if(jIgnoreMouse) makeClickThrough(hwnd);
 }
 
-JNIEXPORT jlong JNICALL Java_org_sikuli_system_WinUtil_getHwnd__II
+JNIEXPORT jlong JNICALL Java_org_sikuli_natives_WinUtil_getHwnd__II
   (JNIEnv *env, jclass jobj, jint jPid, jint jWinNum){
    gPid = jPid;
    gWinNum = jWinNum;
@@ -311,7 +311,7 @@ JNIEXPORT jlong JNICALL Java_org_sikuli_system_WinUtil_getHwnd__II
   
 }
 
-JNIEXPORT jlong JNICALL Java_org_sikuli_system_WinUtil_getHwnd__Ljava_lang_String_2I
+JNIEXPORT jlong JNICALL Java_org_sikuli_natives_WinUtil_getHwnd__Ljava_lang_String_2I
   (JNIEnv *env, jclass jobj, jstring jAppName, jint jWinNum){
    gAppName = env->GetStringUTFChars(jAppName, NULL);
    gWinNum = jWinNum;
@@ -341,7 +341,7 @@ jobject convertRectToJRectangle(JNIEnv *env, const RECT& r){
    return ret;
 }
 
-JNIEXPORT jobject JNICALL Java_org_sikuli_system_WinUtil_getRegion
+JNIEXPORT jobject JNICALL Java_org_sikuli_natives_WinUtil_getRegion
   (JNIEnv *env, jclass jobj, jlong jHwnd, jint jWinNum){
      RECT rect;
      HWND hwnd = (HWND)jHwnd;
@@ -352,7 +352,7 @@ JNIEXPORT jobject JNICALL Java_org_sikuli_system_WinUtil_getRegion
      return NULL;
   }
 
-JNIEXPORT jobject JNICALL Java_org_sikuli_system_WinUtil_getFocusedRegion
+JNIEXPORT jobject JNICALL Java_org_sikuli_natives_WinUtil_getFocusedRegion
   (JNIEnv *env, jclass jobj){
      RECT rect;
      HWND hwnd = GetForegroundWindow();
diff --git a/Natives/src/main/native/OSUtil/Windows/org_sikuli_natives_WinUtil.h b/Natives/src/main/native/OSUtil/Windows/org_sikuli_natives_WinUtil.h
new file mode 100644
index 0000000..a8ff451
--- /dev/null
+++ b/Natives/src/main/native/OSUtil/Windows/org_sikuli_natives_WinUtil.h
@@ -0,0 +1,93 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class org_sikuli_natives_WinUtil */
+
+#ifndef _Included_org_sikuli_natives_WinUtil
+#define _Included_org_sikuli_natives_WinUtil
+#ifdef __cplusplus
+extern "C" {
+#endif
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    switchApp
+ * Signature: (Ljava/lang/String;I)I
+ */
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_switchApp__Ljava_lang_String_2I
+  (JNIEnv *, jobject, jstring, jint);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    switchApp
+ * Signature: (II)I
+ */
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_switchApp__II
+  (JNIEnv *, jobject, jint, jint);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    openApp
+ * Signature: (Ljava/lang/String;)I
+ */
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_openApp
+  (JNIEnv *, jobject, jstring);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    closeApp
+ * Signature: (Ljava/lang/String;)I
+ */
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_closeApp__Ljava_lang_String_2
+  (JNIEnv *, jobject, jstring);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    closeApp
+ * Signature: (I)I
+ */
+JNIEXPORT jint JNICALL Java_org_sikuli_natives_WinUtil_closeApp__I
+  (JNIEnv *, jobject, jint);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    bringWindowToFront
+ * Signature: (Ljava/awt/Window;Z)V
+ */
+JNIEXPORT void JNICALL Java_org_sikuli_natives_WinUtil_bringWindowToFront
+  (JNIEnv *, jobject, jobject, jboolean);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    getHwnd
+ * Signature: (Ljava/lang/String;I)J
+ */
+JNIEXPORT jlong JNICALL Java_org_sikuli_natives_WinUtil_getHwnd__Ljava_lang_String_2I
+  (JNIEnv *, jclass, jstring, jint);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    getHwnd
+ * Signature: (II)J
+ */
+JNIEXPORT jlong JNICALL Java_org_sikuli_natives_WinUtil_getHwnd__II
+  (JNIEnv *, jclass, jint, jint);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    getRegion
+ * Signature: (JI)Ljava/awt/Rectangle;
+ */
+JNIEXPORT jobject JNICALL Java_org_sikuli_natives_WinUtil_getRegion
+  (JNIEnv *, jclass, jlong, jint);
+
+/*
+ * Class:     org_sikuli_natives_WinUtil
+ * Method:    getFocusedRegion
+ * Signature: ()Ljava/awt/Rectangle;
+ */
+JNIEXPORT jobject JNICALL Java_org_sikuli_natives_WinUtil_getFocusedRegion
+  (JNIEnv *, jclass);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/Natives/src/main/native/OSUtil/Windows/org_sikuli_system_WinUtil.h b/Natives/src/main/native/OSUtil/Windows/org_sikuli_system_WinUtil.h
deleted file mode 100755
index 3334e7b..0000000
--- a/Natives/src/main/native/OSUtil/Windows/org_sikuli_system_WinUtil.h
+++ /dev/null
@@ -1,93 +0,0 @@
-/* DO NOT EDIT THIS FILE - it is machine generated */
-#include <jni.h>
-/* Header for class org_sikuli_system_WinUtil */
-
-#ifndef _Included_org_sikuli_system_WinUtil
-#define _Included_org_sikuli_system_WinUtil
-#ifdef __cplusplus
-extern "C" {
-#endif
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    switchApp
- * Signature: (Ljava/lang/String;I)I
- */
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_switchApp__Ljava_lang_String_2I
-  (JNIEnv *, jobject, jstring, jint);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    switchApp
- * Signature: (II)I
- */
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_switchApp__II
-  (JNIEnv *, jobject, jint, jint);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    openApp
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_openApp
-  (JNIEnv *, jobject, jstring);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    closeApp
- * Signature: (Ljava/lang/String;)I
- */
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_closeApp__Ljava_lang_String_2
-  (JNIEnv *, jobject, jstring);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    closeApp
- * Signature: (I)I
- */
-JNIEXPORT jint JNICALL Java_org_sikuli_system_WinUtil_closeApp__I
-  (JNIEnv *, jobject, jint);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    bringWindowToFront
- * Signature: (Ljava/awt/Window;Z)V
- */
-JNIEXPORT void JNICALL Java_org_sikuli_system_WinUtil_bringWindowToFront
-  (JNIEnv *, jobject, jobject, jboolean);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    getHwnd
- * Signature: (Ljava/lang/String;I)J
- */
-JNIEXPORT jlong JNICALL Java_org_sikuli_system_WinUtil_getHwnd__Ljava_lang_String_2I
-  (JNIEnv *, jclass, jstring, jint);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    getHwnd
- * Signature: (II)J
- */
-JNIEXPORT jlong JNICALL Java_org_sikuli_system_WinUtil_getHwnd__II
-  (JNIEnv *, jclass, jint, jint);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    getRegion
- * Signature: (JI)Ljava/awt/Rectangle;
- */
-JNIEXPORT jobject JNICALL Java_org_sikuli_system_WinUtil_getRegion
-  (JNIEnv *, jclass, jlong, jint);
-
-/*
- * Class:     org_sikuli_system_WinUtil
- * Method:    getFocusedRegion
- * Signature: ()Ljava/awt/Rectangle;
- */
-JNIEXPORT jobject JNICALL Java_org_sikuli_system_WinUtil_getFocusedRegion
-  (JNIEnv *, jclass);
-
-#ifdef __cplusplus
-}
-#endif
-#endif

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git



More information about the pkg-java-commits mailing list