File:  [NeXTSTEP 3.3 examples] / Examples / EnterpriseObjects / Archiving / ArchivingObject / 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 "Author.h"

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

- appDidInit:sender;
- readObject:sender;
- writeObject:sender;
- (NSString *)applicationPath;

// These two methods invoke the appropriate methods to archive and
// unarchive a graph of objects when the root object is a descendent
// of Object

- (BOOL) archiveThisObject:(Object *)object;
- (Object *)unarchiveObject;
@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.