File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / Archiving / ArchivingNSObject / Owner.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:48:48 2018 UTC (8 years, 1 month ago) by root
Branches: NeXT, MAIN
CVS tags: NeXTSTEP33, HEAD
Sample Programs from NeXSTEP 3.3


#import <appkit/appkit.h>
#import <foundation/NSArray.h>

#import "NSAuthor.h"

@interface Owner:Object
{
	id	controller;
    id	dataSource;
	id	textObject;
	NSArray	 *eoArray;
	NSAuthor *eoAuthor;
}

- appDidInit:sender;
- readObject:sender;
- writeObject:sender;
- (NSString *)applicationPath;
- (BOOL) archiveThisNSObject:(NSObject *)nsobject;
- (NSObject *)unarchiveNSObject;
@end

// Add a category to the text object to show results
@interface Text (printResults)
- appendText:(const char *)newText;
@end

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.