Index: branches/network/src/lib/network/network_manager.cc
===================================================================
--- branches/network/src/lib/network/network_manager.cc	(revision 5991)
+++ branches/network/src/lib/network/network_manager.cc	(revision 5992)
@@ -49,4 +49,5 @@
   this->syncList = NULL;
   this->tmpStream = NULL;
+  this->hostID = -1;
 
   PRINTF(0)("NetworkManager created\n");
@@ -165,2 +166,11 @@
 
 }
+
+/**
+ * Sets the hostID to a specific number
+ * @param id: The new ID
+ */
+void NetworkManager::setHostID(int id)
+{
+  this->hostID = id;
+}
Index: branches/network/src/lib/network/network_manager.h
===================================================================
--- branches/network/src/lib/network/network_manager.h	(revision 5991)
+++ branches/network/src/lib/network/network_manager.h	(revision 5992)
@@ -47,4 +47,8 @@
     
 
+    void setHostID(int id);
+    /** Returns the hostID @return The hostID of the object */
+    inline int getHostID() { return this->hostID; }
+
   private:
     NetworkManager();
@@ -56,4 +60,5 @@
     static NetworkManager* singletonRef;           //!< Pointer to the only instance of this Class
     NetworkStream*         tmpStream;              //!< FIXME: this is only for testing purposes
+    int hostID;                                    //!< The Host-ID of the Manager
 
 };
Index: branches/network/src/lib/network/synchronizeable.cc
===================================================================
--- branches/network/src/lib/network/synchronizeable.cc	(revision 5991)
+++ branches/network/src/lib/network/synchronizeable.cc	(revision 5992)
@@ -12,5 +12,5 @@
 ### File Specific:
    main-programmer: Silvan Nellen
-   co-programmer: ...
+   co-programmer: Benjamin Wuest
 */
 
@@ -23,5 +23,11 @@
  */
 Synchronizeable::Synchronizeable()
-{}
+{
+
+  //owner = ?;
+  //hostID = ?;
+  //state = ?;
+
+}
 
 /**
@@ -59,2 +65,48 @@
 void Synchronizeable::readDebug() const
 {}
+
+
+
+
+
+/**
+ * Sets the server flag to a given value
+ * @param isServer: the boolean value which the server flag is to set to
+ */
+void Synchronizeable::setIsServer(bool isServer)
+{
+  if( isServer )
+    this->state = this->state | STATE_SERVER;
+  else
+    this->state = this->state & (~STATE_SERVER);
+}
+
+/**
+ * Sets the outofsync flag to a given value
+ * @param outOfSync: the boolean value which the outofsync flag is to set to
+ */
+void Synchronizeable::setIsOutOfSync(bool outOfSync)
+{
+  if( outOfSync )
+    this->state = this->state | STATE_OUTOFSYNC;
+  else
+    this->state = this->state & (~STATE_OUTOFSYNC);
+}
+
+/**
+ * Determines if the server flag is set
+ * @return true, if the server flag is true, false else
+ */
+bool Synchronizeable::isServer()
+{
+  return this->state & STATE_SERVER == STATE_SERVER;
+}
+
+/**
+ * Determines if the outofsync flag is set
+ * @return true, if the outofsync flag is true, false else
+ */
+bool Synchronizeable::isOutOfSync()
+{
+  return this->state & STATE_OUTOFSYNC == STATE_OUTOFSYNC;
+}
Index: branches/network/src/lib/network/synchronizeable.h
===================================================================
--- branches/network/src/lib/network/synchronizeable.h	(revision 5991)
+++ branches/network/src/lib/network/synchronizeable.h	(revision 5992)
@@ -7,6 +7,16 @@
 #define _SYNCHRONIZEABLE_H
 
-#include <base_object.h>
+#include "base_object.h"
 #include "netdefs.h"
+
+
+
+#include <vector>
+#include <list>
+
+//State constants: They have to be of the form 2^n
+#define STATE_SERVER 1
+#define STATE_OUTOFSYNC 2
+
 
 class Synchronizeable : virtual public BaseObject
@@ -22,8 +32,25 @@
     virtual void      writeDebug() const;
     virtual void      readDebug() const;
+    
+    
+    
+    
+    
+    void setIsServer(bool isServer);
+    void setIsOutOfSync(bool outOfSync);
+    bool isServer();
+    bool isOutOfSync();
 
   private:
 
     int               uniqueID;
+    
+    
+    
+    //static std::vector<Synchronizeable*> classList;
+    int owner;
+    int hostID;
+    int state;
+    std::list<int> synchronizeRequests;
 
   };
