X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/msw/ole/uuid.h?ds=sidebyside diff --git a/include/wx/msw/ole/uuid.h b/include/wx/msw/ole/uuid.h index 7bafccaa60..1b31d7373c 100644 --- a/include/wx/msw/ole/uuid.h +++ b/include/wx/msw/ole/uuid.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: ole/uuid.h +// Name: wx/msw/ole/uuid.h // Purpose: encapsulates an UUID with some added helper functions // Author: Vadim Zeitlin // Modified by: @@ -74,6 +74,10 @@ public: bool Set(const wxChar *pc); // from a string, returns true if ok void Set(const UUID& uuid); // from another UUID (never fails) + // comparison operators + bool operator==(const Uuid& uuid) const; + bool operator!=(const Uuid& uuid) const { return !(*this == uuid); } + // accessors operator const UUID*() const { return &m_uuid; } operator const wxChar*() const { return (wxChar *)(m_pszUuid); }