home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 July: Mac OS SDK / Dev.CD Jul 99 SDK1.toast / Development Kits / Mac OS / Interfaces&Libraries / Universal / Interfaces / PInterfaces / FileTransferTools.p < prev    next >
Encoding:
Text File  |  1998-08-17  |  2.3 KB  |  115 lines  |  [TEXT/MPS ]

  1. {
  2.      File:        FileTransferTools.p
  3.  
  4.      Contains:    CommToolbox File Transfer Tools Interfaces.
  5.  
  6.      Version:    Technology:    System 7.5
  7.                  Release:    Universal Interfaces 3.2
  8.  
  9.      Copyright:    © 1988-1998 by Apple Computer, Inc., all rights reserved
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. }
  17. {$IFC UNDEFINED UsingIncludes}
  18. {$SETC UsingIncludes := 0}
  19. {$ENDC}
  20.  
  21. {$IFC NOT UsingIncludes}
  22.  UNIT FileTransferTools;
  23.  INTERFACE
  24. {$ENDC}
  25.  
  26. {$IFC UNDEFINED __FILETRANSFERTOOLS__}
  27. {$SETC __FILETRANSFERTOOLS__ := 1}
  28.  
  29. {$I+}
  30. {$SETC FileTransferToolsIncludes := UsingIncludes}
  31. {$SETC UsingIncludes := 1}
  32.  
  33. {$IFC UNDEFINED __CONDITIONALMACROS__}
  34. {$I ConditionalMacros.p}
  35. {$ENDC}
  36. {$IFC UNDEFINED __DIALOGS__}
  37. {$I Dialogs.p}
  38. {$ENDC}
  39. {$IFC UNDEFINED __FILETRANSFERS__}
  40. {$I FileTransfers.p}
  41. {$ENDC}
  42.  
  43.  
  44. {$PUSH}
  45. {$ALIGN MAC68K}
  46. {$LibExport+}
  47.  
  48.  
  49. CONST
  50.                                                                 {  DEFs  }
  51.     fdefType                    = 'fdef';
  52.     fsetType                    = 'fset';
  53.     fvalType                    = 'fval';
  54.     flocType                    = 'floc';
  55.     fscrType                    = 'fscr';
  56.     fbndType                    = 'fbnd';
  57.     fverType                    = 'vers';
  58.  
  59.                                                                 {  control  }
  60.     ftInitMsg                    = 0;
  61.     ftDisposeMsg                = 1;
  62.     ftSuspendMsg                = 2;
  63.     ftResumeMsg                    = 3;
  64.     ftMenuMsg                    = 4;
  65.     ftEventMsg                    = 5;
  66.     ftActivateMsg                = 6;
  67.     ftDeactivateMsg                = 7;
  68.     ftGetErrorStringMsg            = 8;
  69.     ftAbortMsg                    = 52;
  70.     ftStartMsg                    = 100;
  71.     ftExecMsg                    = 102;
  72.     ftSendMsg                    = 103;
  73.     ftReceiveMsg                = 104;
  74.  
  75.                                                                 {  setup  }
  76.     ftSpreflightMsg                = 0;
  77.     ftSsetupMsg                    = 1;
  78.     ftSitemMsg                    = 2;
  79.     ftSfilterMsg                = 3;
  80.     ftScleanupMsg                = 4;
  81.  
  82.                                                                 {  validate  }
  83.     ftValidateMsg                = 0;
  84.     ftDefaultMsg                = 1;
  85.  
  86.                                                                 {  scripting  }
  87.     ftMgetMsg                    = 0;
  88.     ftMsetMsg                    = 1;
  89.  
  90.                                                                 {  localization  }
  91.     ftL2English                    = 0;
  92.     ftL2Intl                    = 1;
  93.  
  94.  
  95. TYPE
  96.     FTSetupStructPtr = ^FTSetupStruct;
  97.     FTSetupStruct = RECORD
  98.         theDialog:                DialogPtr;                                {  the dialog form the application  }
  99.         count:                    INTEGER;                                {  first appended item  }
  100.         theConfig:                Ptr;                                    {  the config record to setup  }
  101.         procID:                    INTEGER;                                {  procID of the tool  }
  102.     END;
  103.  
  104.     FTSetupPtr                            = ^FTSetupStruct;
  105. {$ALIGN RESET}
  106. {$POP}
  107.  
  108. {$SETC UsingIncludes := FileTransferToolsIncludes}
  109.  
  110. {$ENDC} {__FILETRANSFERTOOLS__}
  111.  
  112. {$IFC NOT UsingIncludes}
  113.  END.
  114. {$ENDC}
  115.