mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:10:38 +00:00
Header files reorganized. All the definitions were moved in appropiate files.
Each header file includes only the header files it needs and it uses @class to forward reference a class. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2189 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8c3afd9724
commit
d5fd123408
151 changed files with 2718 additions and 3068 deletions
|
@ -33,9 +33,10 @@
|
|||
#include <AppKit/NSImageRep.h>
|
||||
#include <AppKit/NSBitmapImageRep.h>
|
||||
#include <AppKit/NSEPSImageRep.h>
|
||||
#include <AppKit/NSPasteboard.h>
|
||||
|
||||
// NSImageRep notifications
|
||||
NSString *NSImageRepRegistryChangedNotification;
|
||||
NSString *NSImageRepRegistryChangedNotification = @"NSImageRepRegistryChangedNotification";
|
||||
|
||||
/* Backend protocol - methods that must be implemented by the backend to
|
||||
complete the class */
|
||||
|
@ -373,8 +374,6 @@ extension(NSString *name)
|
|||
// NSCoding protocol
|
||||
- (void) encodeWithCoder: aCoder
|
||||
{
|
||||
[super encodeWithCoder: aCoder];
|
||||
|
||||
[aCoder encodeObject: _colorSpace];
|
||||
[aCoder encodeSize: size];
|
||||
[aCoder encodeValueOfObjCType: @encode(BOOL) at: &hasAlpha];
|
||||
|
@ -386,8 +385,6 @@ extension(NSString *name)
|
|||
|
||||
- initWithCoder: aDecoder
|
||||
{
|
||||
self = [super initWithCoder: aDecoder];
|
||||
|
||||
_colorSpace = [[aDecoder decodeObject] retain];
|
||||
size = [aDecoder decodeSize];
|
||||
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &hasAlpha];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue