summaryrefslogtreecommitdiff
path: root/gatouuid.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2013-12-06 23:07:49 +0100
committerJavier S. Pedro <maemo@javispedro.com>2013-12-06 23:07:49 +0100
commita7161d92f965848049dbb2eaa80cce0aa178c0ed (patch)
tree8708beb303efb3cb5c5f69774e6128a073e1428f /gatouuid.h
parentb57f5620706c92d1fa4d233bb651134b25d86cdf (diff)
downloadlibgato-a7161d92f965848049dbb2eaa80cce0aa178c0ed.tar.gz
libgato-a7161d92f965848049dbb2eaa80cce0aa178c0ed.zip
Improve MTU exchange
Diffstat (limited to 'gatouuid.h')
-rw-r--r--gatouuid.h8
1 files changed, 3 insertions, 5 deletions
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<GatoUUIDPrivate> 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);