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/os.c | |
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/os.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/carbon/library/os.c | 24 |
1 files changed, 24 insertions, 0 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) |