From a7161d92f965848049dbb2eaa80cce0aa178c0ed Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Fri, 6 Dec 2013 23:07:49 +0100 Subject: Improve MTU exchange --- gatouuid.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'gatouuid.h') diff --git a/gatouuid.h b/gatouuid.h index e091512..d94d7ae 100644 --- a/gatouuid.h +++ b/gatouuid.h @@ -82,6 +82,8 @@ public: bool isNull() const; + int minimumSize() const; + quint16 toUInt16(bool *ok = 0) const; quint32 toUInt32(bool *ok = 0) const; gatouint128 toUInt128() const; @@ -95,11 +97,7 @@ private: QSharedDataPointer d; }; -inline QDebug operator<<(QDebug debug, const GatoUUID &uuid) -{ - debug << uuid.toString(); - return debug; -} +LIBGATO_EXPORT QDebug operator<<(QDebug debug, const GatoUUID &uuid); LIBGATO_EXPORT QDataStream & operator<<(QDataStream &s, const gatouint128 &u); LIBGATO_EXPORT QDataStream & operator>>(QDataStream &s, gatouint128 &u); -- cgit v1.2.3