home *** CD-ROM | disk | FTP | other *** search
- /*
- * Puppeteer 1.1
- *
- * Copyright (c) 1994 Primitive Software Ltd. All rights reserved.
- *
- * Author: Dave Griffiths <dave@prim.demon.co.uk>
- */
-
-
- #import <appkit/appkit.h>
-
- extern id puppet; // Puppet on a string
- extern BOOL bufferKeystrokes; // YES if key strokes are buffered until flushed
- extern int selectedWindow; // The currently selected window
-
- @interface Controller:Object
- {
- id mainWindow; // Where it all happens
- id appNameField; // Form where application name is entered
- id chooseWindowButton; // Button covering window choice popup list
- id remoteView; // View that displays apps window
- id textObject; // Text object where text is relayed to puppet
- BOOL printMouseClicks; // Output info on mouse clicks
- }
-
- - reloadPopupList;
- - attachStrings:sender;
- - chooseWindow:sender;
- - flushKeyboardBuffer:sender;
- - bufferOn:sender;
- - bufferOff:sender;
- - (int)selectedWindow;
- - (BOOL)printMouseClicks;
- - printMouseClicks:sender;
-
- @end
-