home *** CD-ROM | disk | FTP | other *** search
- /*
- File: FileTransferTools.h
-
- Contains: CommToolbox File Transfer Tools Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __FILETRANSFERTOOLS__
- #define __FILETRANSFERTOOLS__
-
- #ifndef __DIALOGS__
- #include <Dialogs.h>
- #endif
- #ifndef __FILETRANSFERS__
- #include <FileTransfers.h>
- #endif
-
- #ifdef __cplusplus
- extern "C" {
- #endif
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import on
- #endif
-
- #if PRAGMA_ALIGN_SUPPORTED
- #pragma options align=mac68k
- #endif
-
- #if FOR_SYSTEM7_ONLY
-
- enum {
- /* DEFs */
- fdefType = 'fdef',
- fsetType = 'fset',
- fvalType = 'fval',
- flocType = 'floc',
- fscrType = 'fscr',
- fbndType = 'fbnd',
- fverType = 'vers'
- };
-
-
- enum {
- /* control */
- ftInitMsg = 0,
- ftDisposeMsg = 1,
- ftSuspendMsg = 2,
- ftResumeMsg = 3,
- ftMenuMsg = 4,
- ftEventMsg = 5,
- ftActivateMsg = 6,
- ftDeactivateMsg = 7,
- ftGetErrorStringMsg = 8,
- ftAbortMsg = 52,
- ftStartMsg = 100,
- ftExecMsg = 102,
- ftSendMsg = 103,
- ftReceiveMsg = 104, /* setup */
- ftSpreflightMsg = 0,
- ftSsetupMsg = 1,
- ftSitemMsg = 2,
- ftSfilterMsg = 3,
- ftScleanupMsg = 4, /* validate */
- ftValidateMsg = 0
- };
-
-
- enum {
- ftDefaultMsg = 1, /* scripting */
- ftMgetMsg = 0,
- ftMsetMsg = 1, /* localization */
- ftL2English = 0,
- ftL2Intl = 1
- };
-
- struct FTSetupStruct {
- DialogPtr theDialog; /* the dialog form the application */
- short count; /* first appended item */
- Ptr theConfig; /* the config record to setup */
- short procID; /* procID of the tool */
- };
- typedef struct FTSetupStruct FTSetupStruct;
-
- typedef FTSetupStruct *FTSetupPtr;
- #endif
-
- #if PRAGMA_ALIGN_SUPPORTED
- #pragma options align=reset
- #endif
-
- #if PRAGMA_IMPORT_SUPPORTED
- #pragma import off
- #endif
-
- #ifdef __cplusplus
- }
- #endif
-
- #endif /* __FILETRANSFERTOOLS__ */
-
-