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:
Scott Christley 1997-02-18 00:29:25 +00:00
parent 0aa42f2776
commit 151bf11e2c
151 changed files with 2718 additions and 3068 deletions

View file

@ -26,9 +26,9 @@
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#include <gnustep/gui/NSColor.h>
#include <gnustep/gui/NSColorPrivate.h>
#include <gnustep/gui/NSView.h>
#include <AppKit/NSColor.h>
#include <AppKit/NSColorPrivate.h>
#include <AppKit/NSView.h>
// Class variables
static BOOL gnustep_gui_ignores_alpha = YES;
@ -582,8 +582,6 @@ const float NSWhite = 1;
//
- (void)encodeWithCoder:aCoder
{
[super encodeWithCoder:aCoder];
// Version 1
[aCoder encodeValueOfObjCType: "f" at: &RGB_component.red];
[aCoder encodeValueOfObjCType: "f" at: &RGB_component.green];
@ -609,7 +607,6 @@ const float NSWhite = 1;
- initWithCoder:aDecoder
{
NSString *s;
[super initWithCoder:aDecoder];
// Version 1
[aDecoder decodeValueOfObjCType: "f" at: &RGB_component.red];
@ -619,7 +616,7 @@ const float NSWhite = 1;
[aDecoder decodeValueOfObjCType: @encode(BOOL) at: &is_clear];
// Get our class name
s = [NSString stringWithCString: object_get_class_name(self)];
s = NSStringFromClass(isa);
// Version 2
// +++ Coding cannot return class version yet