X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fsgp.h;h=f30f582e3df2762114744de2b698a86ca596c29d;hp=fce79a67509b650629d45c3d1ad8cd6e4cdb0aac;hb=ee0105d74fec9d6bfd236e22e9e1d315e46c568e;hpb=3147cd44cff6132e51eac1a179c1fc3d405faacc diff --git a/include/sgp.h b/include/sgp.h index fce79a6..f30f582 100644 --- a/include/sgp.h +++ b/include/sgp.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: sgp.h,v 1.18 2000/09/04 09:06:46 kevin Exp $ +** $Id: sgp.h,v 1.20 2000/12/06 01:46:43 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -47,7 +47,7 @@ extern "C" { #endif #include - +using namespace std; class SGPDriver { private: @@ -171,7 +171,7 @@ public: MARK_BSQUARE = 9, // big open square MARK_BDIAMOND = 10, // big open diamond }; - static const int MARK_COUNT = 11; + enum { MARK_COUNT = 11, }; static const unsigned char MARKER_BITMAP[MARK_COUNT][5]; SGP (const SGPDriver& driver);