home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************
- *
- * CustomGetFile Dialog Demo
- *
- * Main.c
- *
- * Written in CodeWarrior Gold 5.5
- * August 31, 1995
- *
- * Copyright © 1995 Carl B. Constantine
- * Some portions Copyright © 1995 MetroWerks, Inc.
- * Some portions Copyright © 1995 Apple Computer, Inc.
- *
- **********************************************************************/
-
- /*------------------------------------------------------------------
- #
- # File History
- #
- # Date Description of Change
- # ---- ---------------------
- # Aug 31/93 — Original creation of file
- #
- #
- #
- -------------------------------------------------------------------*/
-
- #define _Main_Module_
-
- /*============================ Include Files ============================*/
-
- #include "AppConstants.h"
- #include "AppGlobals.h"
- #include "Main.h"
- #include "EventHandler.h"
- #include "Setup.h"
- #include "Custom.h"
-
- /*======================== Procedures & Functions =======================*/
-
-
- /*-----------------------------------------------------------------------*/
-
- void main()
- {
- StandardFileReply myReply;
-
- MaxApplZone();
- Initialize();
-
- UnloadSeg( (Ptr)Initialize ); // We no longer need this segment.
- if ( !Init_AE_Events() )
- ExitToShell();
- myReply = DoGetVolume();
-
- EventLoop();
-
- ZeroScrap();
- TEToScrap();
-
- }
-
- /*============================= End of File ==============================*/