X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FUNAddressing.hh;h=c3d56bb14b1909b2cff24dc70878a910baf08032;hb=c7a635681a11cfa870626e3a5af8de150a6dc826;hp=82109e044aa602873159fcabced2b80ac2ee3a34;hpb=9dfdf00953c3cabd0ce74e5b316905bb53bbba80;p=senf.git diff --git a/Socket/Protocols/UN/UNAddressing.hh b/Socket/Protocols/UN/UNAddressing.hh index 82109e0..c3d56bb 100644 --- a/Socket/Protocols/UN/UNAddressing.hh +++ b/Socket/Protocols/UN/UNAddressing.hh @@ -31,11 +31,6 @@ #include #include #include -#include -#include -#include "../../../Socket/SocketPolicy.hh" -#include "../../../Socket/ClientSocketHandle.hh" -#include "../../../Socket/CommunicationPolicy.hh" #include "../../../Socket/Protocols/GenericAddressingPolicy.hh" #include "../../../Utils/safe_bool.hh" @@ -52,18 +47,14 @@ namespace senf { \implementation This implementation is based on sockaddr_un. \ingroup addr_group - - \fixme Why both std::string constructor and from_string member ? */ class UNSocketAddress : public comparable_safe_bool { public: UNSocketAddress(); - explicit UNSocketAddress(std::string p); + explicit UNSocketAddress(std::string const & path); ///< Construct an address constant from given path - static UNSocketAddress from_string(std::string const s); - ///< Create UNSocketAddress from string bool operator==(UNSocketAddress const & other) const; ///< Compare UNSocketAddress for equality