/******************************************************************************
 **
 **	C++ Class Library for the Amiga© system software.
 **
 **	Copyright (C) 1994 by Armin Vogt  **  EMail: armin@uni-paderborn.de
 **	All Rights Reserved.
 **
 **	$Source: apphome:APlusPlus/RCS/libsource/APPMain.cxx,v $
 **	$Revision: 1.3 $
 **	$Date: 1994/04/23 21:00:31 $
 **	$Author: Armin_Vogt $
 **
 ******************************************************************************/


#include <APlusPlus/intuition/IntuiRoot.h>


volatile static char rcs_id[] = "$Id: APPMain.cxx,v 1.3 1994/04/23 21:00:31 Armin_Vogt Exp Armin_Vogt $";


int main(int argc,char *argv[])
{
   if (IntuiRoot::APPinitialise(argc,argv))
   {
      APPmain();              // user main
      IntuiRoot::APPexit();   // destroy all IntuiObjects
      return 0;
   }
   else 
   {
      cerr << "FATAL ERROR: could not create IntuiRoot! Programm exits.\n";
      return 1;
   }
}
