]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/filethread.h
Fixed command line PAL/NSTC switches to work properly.
[virtualjaguar] / src / gui / filethread.h
index 12c316fa52d2bfaa4427466b946190d44cd059de..92b773d23b8d6d1a4bb0d5c2997c7924a79e9ef4 100644 (file)
@@ -8,9 +8,6 @@
 #include <QtCore>
 #include "types.h"
 
-// Forward declarations
-class QListWidget;
-
 class FileThread: public QThread
 {
        Q_OBJECT
@@ -18,20 +15,23 @@ class FileThread: public QThread
        public:
                FileThread(QObject * parent = 0);
                ~FileThread();
-               void Go(QListWidget * lw);
+               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);
+               void HandleFile(QFileInfo);
                uint32 FindCRCIndexInFileList(uint32);
 
        private:
-               QListWidget * listWidget;
                QMutex mutex;
                QWaitCondition condition;
                bool abort;
+               bool allowUnknownSoftware;
 };
 
 #endif // __FILETHREAD_H__