X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilethread.h;h=20fd3a02bf395b3611b5c88a1b5edeacde805776;hb=d1e404e2f488610a99f844783dca15a7525c3813;hp=67c8d5eca6cf1fc3c2e11544cf908c438772706b;hpb=b79e71ad6d2f71a2c1ccacb3d37ff02be60f2538;p=virtualjaguar diff --git a/src/gui/filethread.h b/src/gui/filethread.h index 67c8d5e..20fd3a0 100644 --- a/src/gui/filethread.h +++ b/src/gui/filethread.h @@ -6,7 +6,7 @@ #define __FILETHREAD_H__ #include -#include "types.h" +#include class FileThread: public QThread { @@ -15,20 +15,23 @@ class FileThread: public QThread public: FileThread(QObject * parent = 0); ~FileThread(); - void Go(void); + void Go(bool allowUnknown = false); signals: void FoundAFile(unsigned long index); void FoundAFile2(unsigned long index, QString filename, QImage * label, unsigned long); + void FoundAFile3(unsigned long index, QString filename, QImage * label, unsigned long, bool, unsigned long, unsigned long); protected: void run(void); - uint32 FindCRCIndexInFileList(uint32); + void HandleFile(QFileInfo); + uint32_t FindCRCIndexInFileList(uint32_t); private: QMutex mutex; QWaitCondition condition; bool abort; + bool allowUnknownSoftware; }; #endif // __FILETHREAD_H__