Packets: Fix VariantParser invalid parser access bug
[senf.git] / Socket / ProtocolServerSocketHandle.hh
index 4e010dc..a39c760 100644 (file)
@@ -1,8 +1,8 @@
 // $Id$
 //
 // Copyright (C) 2006
-// Fraunhofer Institute for Open Communication Systems (FOKUS) 
-// Competence Center NETwork research (NET), St. Augustin, GERMANY 
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
 //     Stefan Bund <g0dil@berlios.de>
 //
 // This program is free software; you can redistribute it and/or modify
     \brief ProtocolServerSocketHandle public header
  */
 
-#ifndef HH_ProtocolServerSocketHandle_
-#define HH_ProtocolServerSocketHandle_ 1
+#ifndef HH_SENF_Socket_ProtocolServerSocketHandle_
+#define HH_SENF_Socket_ProtocolServerSocketHandle_ 1
 
 // Custom includes
 #include "ServerSocketHandle.hh"
 #include "../config.hh"
+#include "../Utils/Tags.hh"
 
 #include "ProtocolServerSocketHandle.mpp"
 ///////////////////////////////hh.p////////////////////////////////////////
@@ -70,7 +71,6 @@ namespace senf {
         // Types
 
         typedef SocketProtocol Protocol; ///< The socket protocol
-        enum UninitializedType { Uninitialized }; ///< Flag to call 'uninitialized' constructor
 
         ///////////////////////////////////////////////////////////////////////////
         ///\name Structors and default members
@@ -100,7 +100,7 @@ namespace senf {
 
             \implementation The socket handle will have no \c body allocated.
          */
-        ProtocolServerSocketHandle(UninitializedType);
+        ProtocolServerSocketHandle(senf::NoInit_t);
         ///@}
         ///////////////////////////////////////////////////////////////////////////