Index: orxonox/trunk/src/lib/util/ini_parser.cc
===================================================================
--- orxonox/trunk/src/lib/util/ini_parser.cc	(revision 4574)
+++ orxonox/trunk/src/lib/util/ini_parser.cc	(revision 4597)
@@ -1,3 +1,3 @@
-/* 
+/*
    orxonox - the future of 3D-vertical-scrollers
 
@@ -28,4 +28,6 @@
 IniParser::IniParser (const char* filename)
 {
+  this->setClassID(CL_INI_PARSER, "IniParser");
+
   stream = NULL;
   bInSection = false;
@@ -50,5 +52,5 @@
   char* tmpName = ResourceManager::homeDirCheck(filename);
   if( filename == NULL) return -1;
-  if( stream != NULL)	fclose (stream);
+  if( stream != NULL)   fclose (stream);
   if( (stream = fopen (tmpName, "r")) == NULL)
     {
@@ -71,9 +73,9 @@
   bInSection = false;
   if( stream == NULL) return -1;
-  
+
   char linebuffer[PARSELINELENGHT];
   char secbuffer[PARSELINELENGHT];
   char* ptr;
-  
+
   rewind (stream);
   while( !feof( stream))
@@ -85,15 +87,15 @@
       // check for section identifyer
       if( sscanf (linebuffer, "[%s", secbuffer) == 1)
-	{
-	  if( (ptr = strchr( secbuffer, ']')) != NULL)
-	    {
-	      *ptr = 0;
-	      if( !strcmp( secbuffer, section))
-		{
-		  bInSection = true;
-		  return 0;
-		}
-	    }
-	}
+        {
+          if( (ptr = strchr( secbuffer, ']')) != NULL)
+            {
+              *ptr = 0;
+              if( !strcmp( secbuffer, section))
+                {
+                  bInSection = true;
+                  return 0;
+                }
+            }
+        }
     }
   return -1;
@@ -114,8 +116,8 @@
     }
   if( !bInSection) return -1;
-  
+
   char linebuffer[PARSELINELENGHT];
   char* ptr;
-  
+
   while( !feof( stream))
     {
@@ -125,22 +127,22 @@
       if( (ptr = strchr( linebuffer, '\n')) != NULL) *ptr = 0;
       if( linebuffer[0] == '[')
-	{
-	  bInSection = false;
-	  return -1;
-	}
+        {
+          bInSection = false;
+          return -1;
+        }
       sscanf(linebuffer, "%s = %s", name, value);
       return 0;
       /*
-	if( (ptr = strchr( tmpBuffer, '=')) != NULL)
-	{
-	if( ptr == linebuffer) continue;
-	strcpy (value, &ptr[1]);
-	strncpy (name, linebuffer, strlen (linebuffer) - strlen (value) - 1);
-	printf ("%s, %s\n", value, name);
-	return 0;
-	}
+        if( (ptr = strchr( tmpBuffer, '=')) != NULL)
+        {
+        if( ptr == linebuffer) continue;
+        strcpy (value, &ptr[1]);
+        strncpy (name, linebuffer, strlen (linebuffer) - strlen (value) - 1);
+        printf ("%s, %s\n", value, name);
+        return 0;
+        }
       */
     }
-  return -1;	
+  return -1;
 }
 
@@ -151,5 +153,5 @@
    \param defvalue: what should be returned in case the entry cannot be found
    \return a pointer to a buffer conatining the value of the specified entry. This buffer will contain the data specified in defvalue in case the entry wasn't found
-   
+
    The returned pointer points to an internal buffer, so do not free it on your own. Do not give a NULL pointer to defvalue, this will certainly
    lead to unwanted behaviour.
@@ -159,15 +161,15 @@
   strcpy (internbuf, defvalue);
   if( getSection (section) == -1) return internbuf;
-  
+
   char namebuf[PARSELINELENGHT];
   char valuebuf[PARSELINELENGHT];
-  
+
   while( nextVar (namebuf, valuebuf) != -1)
     {
       if( !strcmp (name, namebuf))
-	{
-	  strcpy (internbuf, valuebuf);
-	  return internbuf;
-	}
+        {
+          strcpy (internbuf, valuebuf);
+          return internbuf;
+        }
     }
   return internbuf;
Index: orxonox/trunk/src/lib/util/ini_parser.h
===================================================================
--- orxonox/trunk/src/lib/util/ini_parser.h	(revision 4574)
+++ orxonox/trunk/src/lib/util/ini_parser.h	(revision 4597)
@@ -2,5 +2,5 @@
     \file ini_parser.h
     \brief A small ini file parser
-    
+
     Can be used to find a defined [Section] in an ini file and get the VarName=Value entries
 */
@@ -12,4 +12,5 @@
 #include <string.h>
 #include <stdlib.h>
+#include "base_object.h"
 
 #define PARSELINELENGHT     512       //!< how many chars to read at once
@@ -17,11 +18,12 @@
 //! ini-file parser
 /**
-	This class can be used to load an initializer file and parse it's contents for variablename=value pairs.
+        This class can be used to load an initializer file and parse it's contents for variablename=value pairs.
 */
-class IniParser {
+class IniParser : public BaseObject
+{
  public:
   IniParser (const char* filename);
   ~IniParser ();
-  
+
   char* getVar(const char* name, char* section, char* defvalue);
   int openFile(const char* name);
@@ -33,5 +35,5 @@
   bool          bInSection;                   //!< if the requested parameter is in the section.
   char          internbuf[PARSELINELENGHT];   //!< a buffer
-	
+
 
 };
Index: orxonox/trunk/src/lib/util/substring.cc
===================================================================
--- orxonox/trunk/src/lib/util/substring.cc	(revision 4574)
+++ orxonox/trunk/src/lib/util/substring.cc	(revision 4597)
@@ -1,3 +1,3 @@
-/* 
+/*
    orxonox - the future of 3D-vertical-scrollers
 
@@ -11,5 +11,7 @@
    ### File Specific:
    main-programmer: Christian Meyer
-   co-programmer: ...
+   co-programmer: Benjamin Grauer
+
+   2005-06-10: some naming conventions
 */
 
@@ -28,18 +30,18 @@
 {
   n = 0;
-	
+
   assert( string != NULL);
-	
+
   for( int i = 0; i < strlen(string); i++) if( string[i] == ',') n++;
 
   n += 1;
-	
+
   strings = new char*[n];
 
   assert (strings != NULL);
-	
+
   int i = 0;
   int l = 0;
-	
+
   const char* offset = string;
   char* end = strchr( string, ',');
@@ -57,5 +59,5 @@
       end = strchr( offset, ',');
     }
-	
+
   strings[i] = new char[l + 1];
   l = strlen( offset);
@@ -73,5 +75,5 @@
       delete strings[i];
     }
-	
+
   delete strings;
 }
Index: orxonox/trunk/src/lib/util/substring.h
===================================================================
--- orxonox/trunk/src/lib/util/substring.h	(revision 4574)
+++ orxonox/trunk/src/lib/util/substring.h	(revision 4597)
@@ -1,3 +1,3 @@
-/*! 
+/*!
   \file substring.h
   \brief a small class to get the parts of a string separated by commas
@@ -13,8 +13,8 @@
   SubString(const char* string);
   ~SubString();
-		
+
   int getCount();
   const char* getString( int i);
-		
+
  private:
   char**     strings;         //!< strings produced from a single string splitted in multiple strings
