summaryrefslogtreecommitdiff
path: root/shared/guid.h
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:09:45 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:09:45 +0200
commit88c8801298cbf6fec9cdce254c7b3cb9e066a421 (patch)
tree35a35acf48eb227bac30abc8f87ea9b1c3c57b68 /shared/guid.h
parent3.12 (diff)
downloadFreeFileSync-88c8801298cbf6fec9cdce254c7b3cb9e066a421.tar.gz
FreeFileSync-88c8801298cbf6fec9cdce254c7b3cb9e066a421.tar.bz2
FreeFileSync-88c8801298cbf6fec9cdce254c7b3cb9e066a421.zip
3.13
Diffstat (limited to 'shared/guid.h')
-rw-r--r--shared/guid.h22
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
}
bgstack15