home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
gnu
/
aplusplus-1.01-src.lha
/
src
/
amiga
/
aplusplus-1.01
/
libsource
/
APPMain.cxx
next >
Wrap
C/C++ Source or Header
|
1994-05-04
|
942b
|
36 lines
/******************************************************************************
**
** 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;
}
}