home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1 / Nebula One.iso / ArchiveUtils / JumpBack / Source / JumpBackControl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-06-12  |  2.4 KB  |  96 lines

  1.  
  2. //======================================================================
  3. //
  4. //    Portions written by FreemanSoft Inc.
  5. //
  6. //    FreemanSoft disclaims any warranty of any kind, expressed or implied,
  7. //    as to this source code's fitness for any particular use.
  8. //
  9. //    For more information, use the following electronic mail addresses:
  10. //     
  11. //        info@FreemanSoft.com    general questions
  12. //        support@FreemanSoft.com    technical questions
  13. //
  14. //======================================================================
  15.  
  16.  
  17. /* 
  18.  * JumpBackControl
  19.  *    Written by
  20.  *    Joe Freeman    jfreeman@next.com    
  21.  *
  22.  *    This code has no warranty.  
  23.  *    It is provided so that the consumer may maintain and modify it
  24.  *    at their own risk.  Use this code at your own risk.
  25.  */
  26.  
  27.  
  28. #import <appkit/appkit.h>
  29. #define JBC_MAX_PAIR    256
  30.  
  31. @interface JumpBackControl:Object
  32. {
  33.     List *    dragBackList;
  34.     List *    scriptBackList;
  35.  
  36.     id  infoPanel;    
  37.     id    versionField;        /* so we can put the version number up */    
  38.     id    prefPanel;
  39.     id    pairingsMenu;        /* menu cell */
  40.     
  41.     char *    pairMenu[JBC_MAX_PAIR];
  42.     char *    pairSrc[JBC_MAX_PAIR];
  43.     char *    pairDest[JBC_MAX_PAIR];
  44.     int     pairNum;    /* number of menu cells added via predefined */
  45. }
  46.  
  47.  
  48. - appDidInit:sender;
  49. - appWillTerminate:sender;
  50.  
  51. /*================================================================
  52.  * predefined src/dest pair support
  53.  *================================================================*/
  54.  
  55. - loadPredefined:sender;
  56. - selectPredefined:sender;
  57.  
  58. /*================================================================
  59.  *
  60.  *================================================================*/
  61.  
  62. - newDragController:sender;
  63. - newUnrelatedTool:sender;
  64.  
  65. /*================================================================
  66.  *
  67.  *================================================================*/
  68.  
  69.                 /* 
  70.                  * this class goes and notifies all
  71.                  * open sessions
  72.                  */
  73. - preferencesChanged:sender;        
  74.  
  75.                 /* 
  76.                  * aController is going away, so it
  77.                  * notifies this object
  78.                  */
  79. - dropDragJumpBackController:aController;
  80.  
  81.                 /*
  82.                  * caller closes stream when done 
  83.                  * first try ~/Library/JumpBack 
  84.                  * then get it out of app wrapper 
  85.                  * wrapper version ends in .template
  86.                  */
  87. - (NXStream *)mapResource:(const char *)resourceName;
  88.  
  89. /*================================================================
  90.  *
  91.  *================================================================*/
  92. - showInfoPanel:sender;
  93. - showPrefPanel:sender;
  94.  
  95. @end
  96.