Copy the model files into the AppKit headers directory first.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2691 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ovidiu Predescu 1998-01-09 23:51:46 +00:00
parent 83942f9a80
commit 2f0a46a41c
4 changed files with 10 additions and 3 deletions

View file

@ -1,3 +1,8 @@
Fri Jan 9 14:06:57 1998 Ovidiu Predescu <ovidiu@net-community.com>
* Model/GNUmakefile: Copy the header files to the AppKit directory
first.
Fri Jan 9 12:25:41 1998 Ovidiu Predescu <ovidiu@net-community.com>
* Headers/gnustep/gui/NSImageView.h: New file.

View file

@ -32,7 +32,7 @@ include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/common.make
#
# The list of subproject directories
#
SUBPROJECTS = Source Images Tools Testing
SUBPROJECTS = Model Source Images Tools Testing
-include GNUmakefile.preamble

View file

@ -35,6 +35,6 @@ testpb_OBJC_FILES = testpb.m
-include GNUmakefile.preamble
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/test.make
include $(GNUSTEP_SYSTEM_ROOT)/Makefiles/test-tool.make
-include GNUmakefile.postamble

View file

@ -1,5 +1,7 @@
#include <Foundation/NSRunLoop.h>
#include <Foundation/NSData.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSAutoreleasePool.h>
#include <AppKit/NSPasteboard.h>
@interface pbOwner : NSObject
@ -19,7 +21,7 @@
int len;
NSData* d;
ptr = [s cStringNoCopy];
ptr = [s cString];
len = strlen(ptr);
d = [NSData dataWithBytes: ptr length: len];
[pb setData: d forType: type];