X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocolServerSocketHandle.hh;h=57d980e05657bda136366db87e1a551443a8801a;hb=5443435c4c2b6e4386c5334b5b8358273f2bae93;hp=af6db4780a2cf56adcd973662c6ac932a9edd57e;hpb=8421c3a8da7485cb8781045494ecaab3ed84f403;p=senf.git diff --git a/Socket/ProtocolServerSocketHandle.hh b/Socket/ProtocolServerSocketHandle.hh index af6db47..57d980e 100644 --- a/Socket/ProtocolServerSocketHandle.hh +++ b/Socket/ProtocolServerSocketHandle.hh @@ -1,9 +1,9 @@ // $Id$ // // Copyright (C) 2006 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum fuer Satelitenkommunikation (SatCom) -// Stefan Bund +// 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 // it under the terms of the GNU General Public License as published by @@ -24,11 +24,13 @@ \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//////////////////////////////////////// @@ -69,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 @@ -87,7 +88,7 @@ namespace senf { ProtocolServerSocketHandle(); -# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, "Socket/ProtocolServerSocketHandle.mpp", 1)) +# define BOOST_PP_ITERATION_PARAMS_1 (4, (1, 9, SENF_ABSOLUTE_INCLUDE_PATH(Socket/ProtocolServerSocketHandle.mpp), 1)) # include BOOST_PP_ITERATE() /** \brief Create uninitialized socket variable @@ -99,11 +100,11 @@ namespace senf { \implementation The socket handle will have no \c body allocated. */ - ProtocolServerSocketHandle(UninitializedType); + ProtocolServerSocketHandle(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. @@ -140,4 +141,6 @@ namespace senf { // c-file-style: "senf" // indent-tabs-mode: nil // ispell-local-dictionary: "american" +// compile-command: "scons -u test" +// comment-column: 40 // End: