1 #import <appkit/Application.h>
2 
3 // Myapp.h
4 //
5 // Written by Vince DeMarco
6 // 	demarco@cpsc.ucalgary.ca
7 //
8 // This program is In the Public Domain. If you make any improvements to this
9 // program please let me know
10 
11 @interface Myapp:Application
12 {
13     id                  openpanel;
14     id                  savepanel;
15     id                  savePanelAccessory;
16     id                  compPopUP;
17     int                 saveType;     /* 1 tiff 2 eps */
18 }
19 
20 + new;
21 - (int)appOpenFile:(const char *)fullPath type:(const char *)type;
22 - (BOOL)appAcceptsAnotherFile:sender;
23 - openfile:sender;
24 - print:sender;
25 - save:sender;
26 - saveTypeEPS:sender;
27 - saveTypeTiff:sender;
28 - (int)setCompType;
29 @end
30 
31