Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6383 in orxonox.OLD for branches/preferences/src/lib


Ignore:
Timestamp:
Jan 2, 2006, 1:09:56 AM (19 years ago)
Author:
rennerc
Message:

added CmdLinePrefsReader and IniFilePrefsReader

Location:
branches/preferences/src/lib
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/preferences/src/lib/Makefile.am

    r6380 r6383  
    7272          particles \
    7373          collision_detection \
    74           network \
     74                                network \
    7575          parser \
    7676          shell \
  • branches/preferences/src/lib/parser/Makefile.am

    r5944 r6383  
    11SUBDIRS = \
    22          tinyxml \
    3           ini_parser
     3                                ini_parser \
     4                                preferences
    45
    56
  • branches/preferences/src/lib/util/preferences.cc

    r6381 r6383  
    5959      std::list<prefItem>::const_iterator it2 = it->items.begin();
    6060
    61       for ( ; it2!=it->items.begin(); it2++)
     61      for ( ; it2!=it->items.end(); it2++)
    6262      {
    6363        if ( strcmp(it2->name, name) == 0 )
     
    157157      std::list<prefItem>::iterator it2 = it->items.begin();
    158158
    159       for ( ; it2!=it->items.begin(); it2++)
     159      for ( ; it2!=it->items.end(); it2++)
    160160      {
    161161        if ( strcmp(it2->name, name) == 0 )
     
    203203      std::list<prefItem>::const_iterator it2 = it->items.begin();
    204204
    205       for ( ; it2!=it->items.begin(); it2++)
     205      for ( ; it2!=it->items.end(); it2++)
    206206      {
    207207        if ( strcmp(it2->name, name) == 0 )
     
    230230    std::list<prefItem>::iterator it2 = it->items.begin();
    231231
    232     for ( ; it2!=it->items.begin(); it2++)
     232    for ( ; it2!=it->items.end(); it2++)
    233233    {
    234234      PRINTF(0)("--> %s = '%s'\n", it2->name, it2->value.getString());
Note: See TracChangeset for help on using the changeset viewer.