mirror of https://github.com/lianthony/NT4.0
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
2.9 KiB
135 lines
2.9 KiB
/*
|
|
File: FileTransferTools.h
|
|
|
|
Contains: CommToolbox File Transfer Tools Interfaces.
|
|
|
|
Version: Technology: System 7.5
|
|
Package: Universal Interfaces 2.1 in ÒMPW LatestÓ on ETO #18
|
|
|
|
Copyright: © 1984-1995 by Apple Computer, Inc.
|
|
All rights reserved.
|
|
|
|
Bugs?: If you find a problem with this file, use the Apple Bug Reporter
|
|
stack. Include the file and version information (from above)
|
|
in the problem description and send to:
|
|
Internet: [email protected]
|
|
AppleLink: APPLE.BUGS
|
|
|
|
*/
|
|
|
|
#ifndef __FILETRANSFERTOOLS__
|
|
#define __FILETRANSFERTOOLS__
|
|
|
|
|
|
#ifndef __DIALOGS__
|
|
#include <Dialogs.h>
|
|
#endif
|
|
/* #include <Errors.h> */
|
|
/* #include <ConditionalMacros.h> */
|
|
/* #include <Memory.h> */
|
|
/* #include <Types.h> */
|
|
/* #include <MixedMode.h> */
|
|
/* #include <Menus.h> */
|
|
/* #include <Quickdraw.h> */
|
|
/* #include <QuickdrawText.h> */
|
|
/* #include <Controls.h> */
|
|
/* #include <Windows.h> */
|
|
/* #include <Events.h> */
|
|
/* #include <OSUtils.h> */
|
|
/* #include <TextEdit.h> */
|
|
|
|
#ifndef __FILETRANSFERS__
|
|
#include <FileTransfers.h>
|
|
#endif
|
|
/* #include <CTBUtilities.h> */
|
|
/* #include <StandardFile.h> */
|
|
/* #include <Files.h> */
|
|
/* #include <Finder.h> */
|
|
/* #include <AppleTalk.h> */
|
|
/* #include <Connections.h> */
|
|
/* #include <Terminals.h> */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#if PRAGMA_ALIGN_SUPPORTED
|
|
#pragma options align=mac68k
|
|
#endif
|
|
|
|
#if PRAGMA_IMPORT_SUPPORTED
|
|
#pragma import on
|
|
#endif
|
|
|
|
|
|
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;
|
|
|
|
|
|
#if PRAGMA_IMPORT_SUPPORTED
|
|
#pragma import off
|
|
#endif
|
|
|
|
#if PRAGMA_ALIGN_SUPPORTED
|
|
#pragma options align=reset
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __FILETRANSFERTOOLS__ */
|