X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolClientSocketHandle.hh;h=a63395197f12d2577f40d022bfd532884b960d8d;hb=99822a43b5a79b68563b8ae09e1f36791ede66b1;hp=ed155105d3a29e3a768d3678de029f77c4729512;hpb=f73fa16ed5abdce272ac77f8b8b9ef2b9922c266;p=senf.git diff --git a/Socket/ProtocolClientSocketHandle.hh b/Socket/ProtocolClientSocketHandle.hh index ed15510..a633951 100644 --- a/Socket/ProtocolClientSocketHandle.hh +++ b/Socket/ProtocolClientSocketHandle.hh @@ -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 // // This program is free software; you can redistribute it and/or modify @@ -24,12 +24,13 @@ \brief ProtocolClientSocketHandle public header */ -#ifndef HH_ProtocolClientSocketHandle_ -#define HH_ProtocolClientSocketHandle_ 1 +#ifndef HH_SENF_Socket_ProtocolClientSocketHandle_ +#define HH_SENF_Socket_ProtocolClientSocketHandle_ 1 // Custom includes #include "ClientSocketHandle.hh" #include "../config.hh" +#include "../Utils/Tags.hh" #include "ProtocolClientSocketHandle.mpp" ///////////////////////////////hh.p//////////////////////////////////////// @@ -66,7 +67,6 @@ namespace senf { // Types typedef SocketProtocol Protocol; ///< The sockets protocol - enum UninitializedType { Uninitialized }; ///< Flag to call 'uninitialized' constructor /////////////////////////////////////////////////////////////////////////// ///\name Structors and default members @@ -95,12 +95,12 @@ namespace senf { \implementation The socket handle will have no \c body allocated. */ - ProtocolClientSocketHandle(UninitializedType); + ProtocolClientSocketHandle(senf::NoInit_t); ///@} /////////////////////////////////////////////////////////////////////////// - Protocol const & protocol(); ///< Access the protocol interface + Protocol & protocol(); ///< Access the protocol interface /**< The returned protocol class reference gives access to the complete protocol interface as defined by that class. See the respective protocol class documentation.