diff options
author | Steve Northover <steve> | 2009-03-05 15:04:44 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2009-03-05 15:04:44 +0000 |
commit | f718ada5ee04f4ced7baf95762d916bfbb386b1e (patch) | |
tree | 9bc72ab07124a162c542e17998f3a4d9168cc093 /bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library | |
parent | eadb4241c37a2290a4b2f68674711f83b8a57acf (diff) | |
download | eclipse.platform.swt-f718ada5ee04f4ced7baf95762d916bfbb386b1e.tar.gz eclipse.platform.swt-f718ada5ee04f4ced7baf95762d916bfbb386b1e.tar.xz eclipse.platform.swt-f718ada5ee04f4ced7baf95762d916bfbb386b1e.zip |
109849 - Mac Window Modified on
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library')
3 files changed, 30 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c index ecea7b1aea..a3384b04fe 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c @@ -9378,6 +9378,18 @@ JNIEXPORT jboolean JNICALL OS_NATIVE(IsWindowCollapsed) } #endif +#ifndef NO_IsWindowModified +JNIEXPORT jboolean JNICALL OS_NATIVE(IsWindowModified) + (JNIEnv *env, jclass that, jint arg0) +{ + jboolean rc = 0; + OS_NATIVE_ENTER(env, that, IsWindowModified_FUNC); + rc = (jboolean)IsWindowModified((WindowRef)arg0); + OS_NATIVE_EXIT(env, that, IsWindowModified_FUNC); + return rc; +} +#endif + #ifndef NO_IsWindowVisible JNIEXPORT jboolean JNICALL OS_NATIVE(IsWindowVisible) (JNIEnv *env, jclass that, jint arg0) @@ -12763,6 +12775,18 @@ JNIEXPORT jint JNICALL OS_NATIVE(SetWindowModality) } #endif +#ifndef NO_SetWindowModified +JNIEXPORT jint JNICALL OS_NATIVE(SetWindowModified) + (JNIEnv *env, jclass that, jint arg0, jboolean arg1) +{ + jint rc = 0; + OS_NATIVE_ENTER(env, that, SetWindowModified_FUNC); + rc = (jint)SetWindowModified((WindowRef)arg0, arg1); + OS_NATIVE_EXIT(env, that, SetWindowModified_FUNC); + return rc; +} +#endif + #ifndef NO_SetWindowResizeLimits JNIEXPORT jint JNICALL OS_NATIVE(SetWindowResizeLimits) (JNIEnv *env, jclass that, jint arg0, jobject arg1, jobject arg2) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c index f220c8259d..91adc4dcfc 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.c @@ -14,8 +14,8 @@ #ifdef NATIVE_STATS -int OS_nativeFunctionCount = 980; -int OS_nativeFunctionCallCount[980]; +int OS_nativeFunctionCount = 982; +int OS_nativeFunctionCallCount[982]; char * OS_nativeFunctionNames[] = { "AECoerceDesc", "AECountItems", @@ -665,6 +665,7 @@ char * OS_nativeFunctionNames[] = { "IsValidWindowPtr", "IsWindowActive", "IsWindowCollapsed", + "IsWindowModified", "IsWindowVisible", "JNIGetObject", "KLGetCurrentKeyboardLayout", @@ -915,6 +916,7 @@ char * OS_nativeFunctionNames[] = { "SetWindowGroupOwner", "SetWindowGroupParent", "SetWindowModality", + "SetWindowModified", "SetWindowResizeLimits", "SetWindowTitleWithCFString", "ShowWindow", diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h index f7f1074934..9ace4e4783 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os_stats.h @@ -673,6 +673,7 @@ typedef enum { IsValidWindowPtr_FUNC, IsWindowActive_FUNC, IsWindowCollapsed_FUNC, + IsWindowModified_FUNC, IsWindowVisible_FUNC, JNIGetObject_FUNC, KLGetCurrentKeyboardLayout_FUNC, @@ -923,6 +924,7 @@ typedef enum { SetWindowGroupOwner_FUNC, SetWindowGroupParent_FUNC, SetWindowModality_FUNC, + SetWindowModified_FUNC, SetWindowResizeLimits_FUNC, SetWindowTitleWithCFString_FUNC, ShowWindow_FUNC, |