home *** CD-ROM | disk | FTP | other *** search
/ GEMini Atari / GEMini_Atari_CD-ROM_Walnut_Creek_December_1993.iso / files / program / gempp15b / gemap.cc < prev    next >
Encoding:
C/C++ Source or Header  |  1993-10-23  |  727 b   |  29 lines

  1. /////////////////////////////////////////////////////////////////////////////
  2. //
  3. //  This file is Copyright 1992,1993 by Warwick W. Allison.
  4. //  This file is part of the gem++ library.
  5. //  You are free to copy and modify these sources, provided you acknowledge
  6. //  the origin by retaining this notice, and adhere to the conditions
  7. //  described in the file COPYING.LIB.
  8. //
  9. /////////////////////////////////////////////////////////////////////////////
  10.  
  11. #include <aesbind.h>
  12. #include "gemap.h"
  13.  
  14.  
  15. GEMapplication::GEMapplication() :
  16.     ID(appl_init()),
  17.     isnew(TRUE)
  18. { }
  19.  
  20. GEMapplication::GEMapplication(const char *name) :
  21.     ID(appl_find((char*)name)),
  22.     isnew(FALSE)
  23. { }
  24.  
  25. GEMapplication::~GEMapplication()
  26. {
  27.     if (isnew) appl_exit();
  28. }
  29.