X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FSocketHandle.cci;h=60a522095937d6dd4b18e334eaa3ef5832f206ad;hb=032707d24b1059febe83ce56b11fd79df106c6e2;hp=f036df15ea99047b6e8995255b9e70070e5ec05f;hpb=c52cd7d87dbb525c1267aad27391b8b7365dbb57;p=senf.git diff --git a/Socket/SocketHandle.cci b/Socket/SocketHandle.cci index f036df1..60a5220 100644 --- a/Socket/SocketHandle.cci +++ b/Socket/SocketHandle.cci @@ -31,7 +31,7 @@ #define prefix_ inline ///////////////////////////////cci.p/////////////////////////////////////// -prefix_ satcom::lib::SocketBody::SocketBody(std::auto_ptr protocol, +prefix_ senf::SocketBody::SocketBody(std::auto_ptr protocol, bool isServer) : protocol_(protocol), isServer_(isServer) { @@ -39,7 +39,7 @@ prefix_ satcom::lib::SocketBody::SocketBody(std::auto_ptr protoc protocol_->body_ = this; } -prefix_ satcom::lib::SocketBody::SocketBody(std::auto_ptr protocol, +prefix_ senf::SocketBody::SocketBody(std::auto_ptr protocol, bool isServer, int fd) : FileBody(fd), protocol_(protocol), isServer_(isServer) { @@ -47,24 +47,24 @@ prefix_ satcom::lib::SocketBody::SocketBody(std::auto_ptr protoc protocol_->body_ = this; } -prefix_ satcom::lib::SocketProtocol const & satcom::lib::SocketBody::protocol() +prefix_ senf::SocketProtocol const & senf::SocketBody::protocol() const { return *protocol_; } -prefix_ bool satcom::lib::SocketBody::isServer() +prefix_ bool senf::SocketBody::isServer() { return isServer_; } /////////////////////////////////////////////////////////////////////////// -// satcom::lib::detail::ConvertibleString +// senf::detail::ConvertibleString -prefix_ satcom::lib::detail::ConvertibleString::ConvertibleString() +prefix_ senf::detail::ConvertibleString::ConvertibleString() {} -prefix_ satcom::lib::detail::ConvertibleString::ConvertibleString(bool v) +prefix_ senf::detail::ConvertibleString::ConvertibleString(bool v) : std::string(v ? "true" : "false") {} @@ -74,5 +74,5 @@ prefix_ satcom::lib::detail::ConvertibleString::ConvertibleString(bool v) // Local Variables: // mode: c++ -// c-file-style: "satcom" +// c-file-style: "senf" // End: