QTfrontend/misc.h
author unc0rr
Mon, 09 Mar 2009 20:23:04 +0000
changeset 1878 b3b277d2b891
child 1885 75489216b5b0
permissions -rw-r--r--
own md5 function, no qca2 dependancy (patch by nemo with Qt adaptation by me)

/*
 * 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