home *** CD-ROM | disk | FTP | other *** search
- #import <string.h>
- #import <stdio.h>
- #import <stdlib.h>
-
- #import <bsd/sys/param.h>
- #import <appkit/appkit.h>
- #import <objc/Object.h>
-
- #import "XText.subproj/XText.h"
-
- /*
- The xtext instance variable is actually initially set to the XTScroller
- containing the XText (since that's the best IB can do); the appDidInit
- method adjusts it to point at the XText directly.
- */
-
- @interface XTDemo:Object
- {
- id demoText;
- id demoAction;
- id fieldText;
- id fieldAction;
- id cmdField;
- id comField;
- id loadButton;
-
- char fullName[MAXPATHLEN];
- char titleString[MAXPATHLEN+20];
-
- }
-
- - appDidInit:sender;
- - windowWillReturnFieldEditor:sender toObject:client;
-
- - applyBinding:sender;
- - insertKey:sender;
- - clearBindings:sender;
- - openFile:sender;
- - saveBinding:sender;
- - loadBindings:sender;
- @end
-