Removed all uses of @defs() from -gui, so it now compiles cleanly with the non-fragile ABI. All ivars that must be accessed from other classes are now wrapped in PACKAGE_SCOPE. With clang, this expands to @package, with GCC it expands to @public.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30045 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
David Chisnall 2010-03-27 00:01:03 +00:00
parent 1f6a5b28c2
commit a9ba2e5e77
12 changed files with 61 additions and 51 deletions

View file

@ -170,7 +170,9 @@ APPKIT_EXPORT NSSize NSTokenSize;
id _firstResponder;
id _futureFirstResponder;
NSView *_initialFirstResponder;
PACKAGE_SCOPE
id _delegate;
@protected
id _fieldEditor;
id _lastView;
id _lastDragView;
@ -186,12 +188,16 @@ APPKIT_EXPORT NSSize NSTokenSize;
NSString *_miniaturizedTitle;
NSImage *_miniaturizedImage;
NSString *_windowTitle;
PACKAGE_SCOPE
NSPoint _lastPoint;
@protected
NSBackingStoreType _backingType;
unsigned _styleMask;
int _windowLevel;
PACKAGE_SCOPE
NSRect _rectNeedingFlush;
NSMutableArray *_rectsBeingDrawn;
@protected
unsigned _disableFlushWindow;
NSWindowDepth _depthLimit;
@ -205,6 +211,7 @@ APPKIT_EXPORT NSSize NSTokenSize;
NSPoint _cachedImageOrigin;
NSWindow *_attachedSheet;
PACKAGE_SCOPE
struct GSWindowFlagsType {
unsigned accepts_drag:1;
unsigned is_one_shot:1;
@ -246,7 +253,7 @@ APPKIT_EXPORT NSSize NSTokenSize;
unsigned ignores_mouse_events: 1;
unsigned preserves_content_during_live_resize: 1;
} _f;
@protected
NSToolbar *_toolbar;
void *_reserved_1;
}