From f00331d05cdbb04e86e5407c6c84047235298701 Mon Sep 17 00:00:00 2001 From: znek Date: Tue, 4 Jan 2005 17:24:13 +0000 Subject: [PATCH] fixed warnings that occured during Xcode compile git-svn-id: http://svn.opengroupware.org/SOPE/trunk@484 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- sope-appserver/SoOFS/ChangeLog | 4 ++++ sope-appserver/SoOFS/OFSWebMethod.m | 3 --- sope-appserver/SoOFS/OFSWebMethodRenderer.m | 3 --- sope-appserver/SoOFS/SoOFS.xcode/project.pbxproj | 2 +- sope-appserver/SoOFS/Version | 2 +- sope-appserver/SoOFS/common.h | 14 +++++++++++++- 6 files changed, 19 insertions(+), 9 deletions(-) diff --git a/sope-appserver/SoOFS/ChangeLog b/sope-appserver/SoOFS/ChangeLog index 4df314eb..a80b11d5 100644 --- a/sope-appserver/SoOFS/ChangeLog +++ b/sope-appserver/SoOFS/ChangeLog @@ -1,5 +1,9 @@ 2005-01-04 Marcus Mueller + * OFSWebMethodRenderer.m, OFSWebMethod.m, common.h: removed warnings + that occured during Xcode compile by explicitly declaring used + private interfaces (v4.5.14) + * v4.5.13 * SoOFS.xcode: new product diff --git a/sope-appserver/SoOFS/OFSWebMethod.m b/sope-appserver/SoOFS/OFSWebMethod.m index eacb2012..d0adfe85 100644 --- a/sope-appserver/SoOFS/OFSWebMethod.m +++ b/sope-appserver/SoOFS/OFSWebMethod.m @@ -20,9 +20,6 @@ */ #include "OFSWebMethod.h" -#ifdef COMPILE_FOR_GSTEP_MAKE -# include "WOContext+private.h" // required for page rendering -#endif #include #include #include diff --git a/sope-appserver/SoOFS/OFSWebMethodRenderer.m b/sope-appserver/SoOFS/OFSWebMethodRenderer.m index c9dc6699..13ec99ba 100644 --- a/sope-appserver/SoOFS/OFSWebMethodRenderer.m +++ b/sope-appserver/SoOFS/OFSWebMethodRenderer.m @@ -21,9 +21,6 @@ #include "OFSWebMethodRenderer.h" #include "OFSWebMethod.h" -#ifdef COMPILE_FOR_GSTEP_MAKE -# include "WOContext+private.h" // required for page rendering -#endif #include #include "common.h" diff --git a/sope-appserver/SoOFS/SoOFS.xcode/project.pbxproj b/sope-appserver/SoOFS/SoOFS.xcode/project.pbxproj index 65bc3c54..d0b92e2c 100644 --- a/sope-appserver/SoOFS/SoOFS.xcode/project.pbxproj +++ b/sope-appserver/SoOFS/SoOFS.xcode/project.pbxproj @@ -1072,7 +1072,7 @@ ); buildSettings = { DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 4.5.13; + DYLIB_CURRENT_VERSION = 4.5.14; FRAMEWORK_SEARCH_PATHS = "$(LOCAL_LIBRARY_DIR)/Frameworks"; FRAMEWORK_VERSION = A; GCC_PRECOMPILE_PREFIX_HEADER = YES; diff --git a/sope-appserver/SoOFS/Version b/sope-appserver/SoOFS/Version index 36c1074d..a6180019 100644 --- a/sope-appserver/SoOFS/Version +++ b/sope-appserver/SoOFS/Version @@ -1,3 +1,3 @@ # version file -SUBMINOR_VERSION:=13 +SUBMINOR_VERSION:=14 diff --git a/sope-appserver/SoOFS/common.h b/sope-appserver/SoOFS/common.h index 7db4ec0c..cf06fdf4 100644 --- a/sope-appserver/SoOFS/common.h +++ b/sope-appserver/SoOFS/common.h @@ -48,8 +48,20 @@ #include #include #include +#ifdef COMPILE_FOR_GSTEP_MAKE +# include "WOContext+private.h" // required for page rendering +#else +/* Xcode can't reference the private header, so as a workaround we declare all + private methods used here */ +# include +@interface WOContext(UsedPrivates) +- (void)enterComponent:(WOComponent *)_component content:(WOElement *)_content; +- (void)leaveComponent:(WOComponent *)_component; +- (void)setPage:(WOComponent *)_page; +@end +#endif -@interface NSObject(LastException) +@interface WOContext(LastException) - (NSException *)lastException; @end -- 2.39.5