BuildCubeE/BootableMPW/Interfaces/CIncludes/FileTransferTools.h
2018-11-16 09:50:16 +08:00

94 lines
1.5 KiB
C

/************************************************************
Created: Thursday, September 12, 1991 at 9:51 AM
FileTransferTools.h
C Interface to the Macintosh Libraries
Copyright Apple Computer, Inc. 1988-1991
All rights reserved
************************************************************/
#ifndef __FILETRANSFERTOOLS__
#define __FILETRANSFERTOOLS__
#ifndef __DIALOGS__
#include <Dialogs.h>
#endif
#ifndef __FILETRANSFERS__
#include <FileTransfers.h>
#endif
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
/* DEFs */
#define fdefType 'fdef'
#define fsetType 'fset'
#define fvalType 'fval'
#define flocType 'floc'
#define fscrType 'fscr'
#define fbndType 'fbnd'
#define fverType 'vers'
};
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