Changeset 64 for cpp/gdk/errmanager.h


Ignore:
Timestamp:
01/28/11 23:29:40 (14 years ago)
Author:
Maciej Komosinski
Message:

a lot of minor fixes

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-2006  Szymon 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.
    44
    55#ifndef _ERRMANAGER_H_
     
    6464{
    6565  protected:
    66 int maxlevel,errcount,warncount,storlevel,storcount;
     66int maxlevel,errcount,warncount,storlevel,storcount,infocount;
    6767SString msgs;
    6868
    6969  public:
    7070
    71 void reset() {maxlevel=FMLV_INFO-1; errcount=warncount=storcount=0; msgs=0;}
     71void reset() {maxlevel=FMLV_INFO-1; errcount=warncount=storcount=infocount=0; msgs=0;}
    7272
    7373enum Options2
     
    7676int getErrorCount()       {return errcount;}
    7777int getWarningCount()     {return warncount;}
     78int getInfoCount()        {return infocount;}
    7879int getStoredCount()      {return storcount;}
    7980int getErrorLevel()       {return maxlevel;}
Note: See TracChangeset for help on using the changeset viewer.