home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.3 (Developer) / NeXT_Developer-3.3.iso / NextDeveloper / Examples / IndexingKit / Ledger / MainDelegate.h < prev    next >
Encoding:
Text File  |  1993-01-25  |  1.1 KB  |  57 lines

  1.  
  2. #import <appkit/appkit.h>
  3.  
  4. @interface MainDelegate:Object
  5. {
  6.     id    addButton;
  7.     id    closeButton;
  8.     id    editField;
  9.     id    extraButton;
  10.     id    listBrowser;
  11.     id    listWindow;
  12.     id    openButton;
  13.     id    removeButton;
  14.  
  15.     /* non UI ivars. */
  16.     id mainStoreDirectory;
  17.     id accountsHashTable;
  18.     id ledgersHashTable;
  19.     id accountsStoreDirectory;
  20.     id globalThings;
  21.     id globalThingsRecordManager;
  22.     id mainStoreHandle;
  23.     id currentAccount;
  24.     const char *currentAccountName;
  25.     const char **list;
  26. }
  27.  
  28. - addAccount:sender;
  29. - appDidInit:sender;
  30. - appWillTerminate:sender;
  31. - closeAccount:sender;
  32. - doubleClickAccount:sender;
  33. - makeListKey:sender;
  34. - openAccount:sender;
  35. - pickAccount:sender;
  36. - ping:sender;
  37. - removeAccount:sender;
  38.  
  39. /* non target-action stuff */
  40. - initSchema;
  41. - openDatabase;
  42. - closeDatabase;
  43. - (char **)listOfAccountNames;
  44. - getAccountNamed:(const char *)aName;
  45. - addAllAttributes:aRecMgr;
  46.  
  47. - (int)consumeSerial;
  48. - (const char *)todaysDate;
  49. - (int )browser:b fillMatrix:m inColumn:(int)c;
  50.  
  51. /* editField's textDelegate notifications */
  52. -(BOOL)textWillChange:textObject;
  53. -(BOOL)textWillEnd:textObject;
  54. - textDidChange:textObject;
  55.  
  56. @end
  57.