home *** CD-ROM | disk | FTP | other *** search
/ QuickTime 2.0 Beta / Quicktime 2.0 Beta.iso / Programming Stuff / Interfaces / Universal Interfaces / FileTransferTools.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-01-30  |  2.5 KB  |  117 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        FileTransferTools.h
  3.  
  4.     Copyright:    © 1984-1993 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef __FILETRANSFERTOOLS__
  13. #define __FILETRANSFERTOOLS__
  14.  
  15. #ifndef __DIALOGS__
  16. #include <Dialogs.h>
  17. /*    #include <Windows.h>                                        */
  18. /*        #include <Quickdraw.h>                                    */
  19. /*            #include <Types.h>                                    */
  20. /*                #include <ConditionalMacros.h>                    */
  21. /*                #include <MixedMode.h>                            */
  22. /*                    #include <Traps.h>                            */
  23. /*            #include <QuickdrawText.h>                            */
  24. /*                #include <IntlResources.h>                        */
  25. /*        #include <Events.h>                                        */
  26. /*            #include <OSUtils.h>                                */
  27. /*        #include <Controls.h>                                    */
  28. /*            #include <Menus.h>                                    */
  29. /*    #include <TextEdit.h>                                        */
  30. #endif
  31.  
  32. #ifndef __FILETRANSFERS__
  33. #include <FileTransfers.h>
  34. /*    #include <Packages.h>                                        */
  35. /*    #include <CTBUtilities.h>                                    */
  36. /*        #include <Memory.h>                                        */
  37. /*        #include <StandardFile.h>                                */
  38. /*            #include <Files.h>                                    */
  39. /*                #include <SegLoad.h>                            */
  40. /*        #include <AppleTalk.h>                                    */
  41. /*    #include <Connections.h>                                    */
  42. /*    #include <Terminals.h>                                        */
  43. #endif
  44.  
  45.  
  46. /* DEFs */
  47.  
  48. #define fdefType 'fdef'
  49.  
  50. #define fsetType 'fset'
  51.  
  52. #define fvalType 'fval'
  53.  
  54. #define flocType 'floc'
  55.  
  56. #define fscrType 'fscr'
  57.  
  58. #define fbndType 'fbnd'
  59.  
  60. #define fverType 'vers'
  61.  
  62. enum  {
  63. /* Control */
  64.     ftInitMsg                    = 0,
  65.     ftDisposeMsg                = 1,
  66.     ftSuspendMsg                = 2,
  67.     ftResumeMsg                    = 3,
  68.     ftMenuMsg                    = 4,
  69.     ftEventMsg                    = 5,
  70.     ftActivateMsg                = 6,
  71.     ftDeactivateMsg                = 7,
  72.     ftGetErrorStringMsg            = 8,
  73.     ftAbortMsg                    = 52,
  74.     ftStartMsg                    = 100,
  75.     ftExecMsg                    = 102,
  76.     ftSendMsg                    = 103,
  77.     ftReceiveMsg                = 104,
  78. /*Setup */
  79.     ftSpreflightMsg                = 0,
  80.     ftSsetupMsg                    = 1,
  81.     ftSitemMsg                    = 2,
  82.     ftSfilterMsg                = 3,
  83.     ftScleanupMsg                = 4,
  84. /* validate */
  85.     ftValidateMsg                = 0
  86. };
  87.  
  88. enum  {
  89.     ftDefaultMsg                = 1,
  90. /* scripting */
  91.     ftMgetMsg                    = 0,
  92.     ftMsetMsg                    = 1,
  93. /* localization */
  94.     ftL2English                    = 0,
  95.     ftL2Intl                    = 1
  96. };
  97.  
  98. #if defined(powerc) || defined (__powerc)
  99. #pragma options align=mac68k
  100. #endif
  101. struct FTSetupStruct {
  102.     DialogPtr                    theDialog;                        /* the dialog form the application */
  103.     short                        count;                            /* first appended item */
  104.     Ptr                            theConfig;                        /* the config record to setup */
  105.     short                        procID;                            /* procID of the tool */
  106. };
  107. #if defined(powerc) || defined(__powerc)
  108. #pragma options align=reset
  109. #endif
  110.  
  111. typedef struct FTSetupStruct FTSetupStruct;
  112.  
  113. typedef FTSetupStruct *FTSetupPtr;
  114.  
  115. #endif
  116.  
  117.