File:  [NeXTSTEP 3.3 examples] / Examples / IndexingKit / Ledger / MainDelegate.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:49:02 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>

@interface MainDelegate:Object
{
    id	addButton;
    id	closeButton;
    id	editField;
    id	extraButton;
    id	listBrowser;
    id	listWindow;
    id	openButton;
    id	removeButton;

	/* non UI ivars. */
	id mainStoreDirectory;
	id accountsHashTable;
	id ledgersHashTable;
	id accountsStoreDirectory;
	id globalThings;
	id globalThingsRecordManager;
	id mainStoreHandle;
	id currentAccount;
	const char *currentAccountName;
	const char **list;
}

- addAccount:sender;
- appDidInit:sender;
- appWillTerminate:sender;
- closeAccount:sender;
- doubleClickAccount:sender;
- makeListKey:sender;
- openAccount:sender;
- pickAccount:sender;
- ping:sender;
- removeAccount:sender;

/* non target-action stuff */
- initSchema;
- openDatabase;
- closeDatabase;
- (char **)listOfAccountNames;
- getAccountNamed:(const char *)aName;
- addAllAttributes:aRecMgr;

- (int)consumeSerial;
- (const char *)todaysDate;
- (int )browser:b fillMatrix:m inColumn:(int)c;

/* editField's textDelegate notifications */
-(BOOL)textWillChange:textObject;
-(BOOL)textWillEnd:textObject;
- textDidChange:textObject;

@end

unix.superglobalmegacorp.com

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