mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:30: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
|
@ -26,11 +26,13 @@
|
|||
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include <gnustep/gui/NSColorList.h>
|
||||
#include <Foundation/NSNotification.h>
|
||||
#include <Foundation/NSLock.h>
|
||||
#include <Foundation/NSDictionary.h>
|
||||
#include <Foundation/NSArchiver.h>
|
||||
#include <Foundation/NSException.h>
|
||||
#include <AppKit/NSColorList.h>
|
||||
#include <AppKit/AppKitExceptions.h>
|
||||
|
||||
// NSColorList notifications
|
||||
NSString *NSColorListChangedNotification = @"NSColorListChange";
|
||||
|
@ -86,7 +88,8 @@ static NSLock *gnustep_color_list_lock;
|
|||
//
|
||||
+ (NSColorList *)colorListNamed:(NSString *)name
|
||||
{
|
||||
id o, e;
|
||||
id e;
|
||||
NSColorList* o;
|
||||
BOOL found = NO;
|
||||
|
||||
// Serialize access to color list
|
||||
|
@ -288,7 +291,6 @@ static NSLock *gnustep_color_list_lock;
|
|||
//
|
||||
- (void)encodeWithCoder:aCoder
|
||||
{
|
||||
[super encodeWithCoder:aCoder];
|
||||
[aCoder encodeObject: list_name];
|
||||
[aCoder encodeObject: color_list];
|
||||
[aCoder encodeObject: color_list_keys];
|
||||
|
@ -297,7 +299,6 @@ static NSLock *gnustep_color_list_lock;
|
|||
|
||||
- initWithCoder:aDecoder
|
||||
{
|
||||
[super initWithCoder:aDecoder];
|
||||
list_name = [aDecoder decodeObject];
|
||||
color_list = [aDecoder decodeObject];
|
||||
color_list_keys = [aDecoder decodeObject];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue