home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / scheme / schematk / src_1152.lha / Main.subproj / Main.h < prev    next >
Encoding:
Text File  |  1991-12-15  |  2.8 KB  |  103 lines

  1. /* Copyright รก 1991 Gustavus Adolphus College.  All rights reserved.
  2.  *
  3.  * Schematik was developed by Gustavus Adolphus College (GAC) with
  4.  * support from NeXT Computer, Inc.  Permission to copy this software,
  5.  * to redistribute it, and to use it for any purpose is granted,
  6.  * subject to the following restrictions and understandings.
  7.  *
  8.  * 1. Any copy made of this software must include this copyright
  9.  * notice in full.
  10.  *
  11.  * 2. Users of this software agree to make their best efforts (a) to
  12.  * return to the GAC Mathematics and Computer Science Department any
  13.  * improvements or extensions that they make, so that these may be
  14.  * included in future releases; and (b) to inform GAC of noteworthy
  15.  * uses of this software.
  16.  *
  17.  * 3. All materials developed as a consequence of the use of this
  18.  * software shall duly acknowledge such use, in accordance with the
  19.  * usual standards of acknowledging credit in academic research.
  20.  *
  21.  * 4. GAC makes no express or implied warranty or representation of
  22.  * any kind with respect to this software, including any warranty
  23.  * that the operation of this software will be error-free.  ANY
  24.  * IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR
  25.  * PURPOSE IS HEREBY DISCLAIMED.  GAC is under no obligation to
  26.  * provide any services, by way of maintenance, update, or otherwise.
  27.  *
  28.  * 5. In conjunction with products arising from the use of this
  29.  * material, there shall be no use of the name of Gustavus Adolphus
  30.  * College nor of any adaptation thereof in any advertising,
  31.  * promotional, or sales literature without prior written consent
  32.  * from GAC in each case.
  33.  */
  34.  
  35. #import <appkit/Application.h>
  36.  
  37. @interface Main:Application
  38. {
  39.     id    findAgent;
  40.     id    helpAgent;
  41.     id    infoAgent;
  42.     id    interactionWindow;
  43.     id    prefAgent;
  44.     id    protocolObj;
  45.     id    graphicsViews;
  46. NXZone    *graphicsZone;
  47. }
  48.  
  49. - info:sender;
  50. - help:sender;
  51. - manual:sender;
  52. - preferences:sender;
  53. - newDocument:sender;
  54. - openDocument:sender;
  55. - find:sender;
  56. - findNext:sender;
  57. - findPrevious:sender;
  58. - evaluate:sender;
  59. - abort:sender;
  60. - print:sender;
  61.  
  62. - (id)findAgent;
  63. - (id)helpAgent;
  64. - (id)prefAgent;
  65. - (id)infoAgent;
  66. - (id)interactionWindow;
  67. - (id)protocolObj;
  68.  
  69. - openGraphicsWindow:(unsigned)windowNum width:(unsigned)width height:(unsigned)height;
  70. - closeGraphicsWindow:(unsigned)windowNum;
  71. - setGraphicsWindowFlush:(unsigned)windowNum mode:(unsigned)mode;
  72. - printGraphicsWindow:(unsigned)windowNum;
  73.  
  74. @end
  75.  
  76. @interface Main (Subclass)
  77. - restartSubprocess;
  78. @end
  79.  
  80. #import <appkit/FontPanel.h>
  81.  
  82. @interface MyFontPanel:FontPanel
  83.  
  84. + newContent:(const NXRect *)contentRect style:(int)aStyle backing:(int)bufferingType buttonMask:(int)mask defer:(BOOL)flag;
  85.  
  86. @end
  87.  
  88. #import <appkit/Window.h>
  89.  
  90. @interface Window (PrintingExt)
  91.  
  92. - print:sender;
  93.  
  94. @end
  95.  
  96. #import <appkit/View.h>
  97.  
  98. @interface View (PrintingExt)
  99.  
  100. - (BOOL)hasSubviewOfKind:aClass;
  101.  
  102. @end
  103.