Main Page   Compound List   File List   Compound Members   File Members  

md5.h File Reference

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

Go to the source code of this file.

Compounds

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 (ifstream &stream)
bool filesMatch (ifstream &stream, QString oldMD5)


Function Documentation

bool filesMatch ifstream &  stream,
QString  oldMD5
 

Definition at line 552 of file md5.cpp.

References MD5::hex_digest().

00553 {
00554   MD5 obj( stream );
00555   return (obj.hex_digest() == oldMD5);
00556 }

QString getMD5 ifstream &  stream  ) 
 

Definition at line 545 of file md5.cpp.

References MD5::hex_digest().

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

00546 {
00547   MD5 obj( stream );
00548   return obj.hex_digest();
00549 }


Generated on Tue Jun 10 23:41:22 2003 for AlbumShaper by doxygen 1.3.1