Code: Alles auswählen
/**
*HandleDuplicates is used to say, what to do
*with founded Duplicates
*/
enum HandleDuplicates
{
Empty, ///Default value
Keep, ///Keep file
MarkAsKeep, /// Mark file as "keep" in the database
Delete ///delete file from hdd
};
/**
*DupHandle represents a single file, paired with a message, which says
*to do with it.
*/
typedef std::pair<Dedupe::FileInfo, HandleDuplicates> DupHandle;
/**
*DuplicateGroup represents Files with the same hash value
*/
typedef std::vector<DupHandle> DuplicateGroup;
/**
*Duplicates represents all founded Duplicates, cleanly grouped to
*process it to the user
*/
typedef std::vector<DuplicateGroup> Duplicates;