QTfrontend/misc.h
changeset 1878 b3b277d2b891
child 1885 75489216b5b0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QTfrontend/misc.h	Mon Mar 09 20:23:04 2009 +0000
@@ -0,0 +1,35 @@
+/*
+ * Hedgewars, a free turn based strategy game
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
+ */
+
+#ifndef _MISC_H
+#define _MISC_H
+
+
+#include <QObject>
+#include <QByteArray>
+#include <QString>
+
+class Hash : public QObject
+{
+	Q_OBJECT
+
+public:
+	Hash();
+	static QString md5(QByteArray buf);
+};
+
+#endif // _MISC_H