Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

md5.h File Reference

#include <fstream>
#include <qstring.h>

Include dependency graph for md5.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

class  MD5
 MD5 Support allows checksums to be computed for images, determing if they have changed since the album was saved out, and if so need to be loaded and rescaled. More...


Functions

QString getMD5 (std::ifstream &stream)
bool filesMatch (std::ifstream &stream, QString oldMD5)


Function Documentation

bool filesMatch std::ifstream &  stream,
QString  oldMD5
 

Definition at line 554 of file md5.cpp.

References MD5::hex_digest().

00555 {
00556   MD5 obj( stream );
00557   return (obj.hex_digest() == oldMD5);
00558 }

QString getMD5 std::ifstream &  stream  ) 
 

Definition at line 547 of file md5.cpp.

References MD5::hex_digest().

Referenced by Album::exportSubalbumImages(), and Subalbum::importFromDisk().

00548 {
00549   MD5 obj( stream );
00550   return obj.hex_digest();
00551 }


Generated on Thu Nov 13 00:10:58 2003 for AlbumShaper by doxygen 1.3.4