|
|
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
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.