Changeset 64 for cpp/gdk/errmanager.h
- Timestamp:
- 01/28/11 23:29:40 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/gdk/errmanager.h
r5 r64 1 // This file is a part of Framsticks GDK library.2 // Copyright (C) 2002-20 06Szymon Ulatowski. See LICENSE.txt for details.3 // Refer to http://www.frams .alife.pl/ for further information.1 // This file is a part of the Framsticks GDK library. 2 // Copyright (C) 2002-2011 Szymon Ulatowski. See LICENSE.txt for details. 3 // Refer to http://www.framsticks.com/ for further information. 4 4 5 5 #ifndef _ERRMANAGER_H_ … … 64 64 { 65 65 protected: 66 int maxlevel,errcount,warncount,storlevel,storcount ;66 int maxlevel,errcount,warncount,storlevel,storcount,infocount; 67 67 SString msgs; 68 68 69 69 public: 70 70 71 void reset() {maxlevel=FMLV_INFO-1; errcount=warncount=storcount= 0; msgs=0;}71 void reset() {maxlevel=FMLV_INFO-1; errcount=warncount=storcount=infocount=0; msgs=0;} 72 72 73 73 enum Options2 … … 76 76 int getErrorCount() {return errcount;} 77 77 int getWarningCount() {return warncount;} 78 int getInfoCount() {return infocount;} 78 79 int getStoredCount() {return storcount;} 79 80 int getErrorLevel() {return maxlevel;}
Note: See TracChangeset
for help on using the changeset viewer.