diff options
Diffstat (limited to 'shared/guid.h')
-rw-r--r-- | shared/guid.h | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/shared/guid.h b/shared/guid.h index 49d2f008..166e9eb1 100644 --- a/shared/guid.h +++ b/shared/guid.h @@ -1,32 +1,18 @@ // ************************************************************************** // * This file is part of the FreeFileSync project. It is distributed under * // * GNU General Public License: http://www.gnu.org/licenses/gpl.html * -// * Copyright (C) 2008-2010 ZenJu (zhnmju123 AT gmx.de) * +// * Copyright (C) 2008-2011 ZenJu (zhnmju123 AT gmx.de) * // ************************************************************************** // #ifndef GUID_H_INCLUDED #define GUID_H_INCLUDED -#include <wx/stream.h> -#include <boost/shared_ptr.hpp> +#include <string> + namespace util { -class UniqueId -{ -public: - UniqueId(); //create UUID - - UniqueId(wxInputStream& stream); //read - void toStream(wxOutputStream& stream) const; //write - - bool operator==(const UniqueId rhs) const; - bool operator<(const UniqueId rhs) const; - -private: - struct IntData; - boost::shared_ptr<IntData> pData; -}; +std::string generateGUID(); //creates a 16 byte GUID } |