home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcmagazi / 1992 / 04 / finddupe.h < prev    next >
C/C++ Source or Header  |  1992-02-05  |  635b  |  33 lines

  1. // finddupe.h
  2.  
  3. #if !defined(FINDDUPE_H)
  4. #define FINDDUPE_H
  5.  
  6. #include"app.h"
  7. #include"dupes.h"
  8. #include"findfile.h"
  9. #include"window.h"
  10.  
  11. class FindDupe : public Application, public Dupes, public RecursiveFileFind
  12.     {
  13.     Window *Status, *Path;
  14.     char dirspec[68], filespec[13];
  15.  
  16.     void DispPath(char *path);
  17. public:
  18.     unsigned numFound;
  19.  
  20.     FindDupe(Window *S, Window *P);
  21.     BOOL FindDuplicates(char *searchdirs);
  22.     void PostResults(char *dirspec, struct ffblk *f);
  23.     BOOL terminate(char *message)
  24.         {
  25.         Status->Printf(message);
  26.         return FALSE;
  27.         }
  28.     };
  29.  
  30. #endif
  31.  
  32.  
  33.