]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/filepicker.h
Fixed GUI to be able to load carts, updated documentation.
[virtualjaguar] / src / gui / filepicker.h
index a8c588847614cd9896000747618f5a09f2b06b4b..3ab470b17f0a1235c25c9610f222ab29444fc319 100644 (file)
@@ -21,13 +21,18 @@ class FilePickerWindow: public QWidget
 
        public slots:
                void AddFileToList(unsigned long index);
-               void AddFileToList2(unsigned long index, QString, QImage *);
+               void AddFileToList2(unsigned long index, QString, QImage *, unsigned long size);
                void UpdateSelection(const QModelIndex &, const QModelIndex &);
+               void LoadButtonPressed(void);
+
+       signals:
+               void RequestLoad(QString);
 
        protected:
 //             void PopulateList(void);
 
        private:
+               QString currentFile;
                QListWidget * fileList2;
                FileThread * fileThread;
                FileListModel * model;
@@ -35,4 +40,5 @@ class FilePickerWindow: public QWidget
                QLabel * cartImage;
                QLabel * title;
                QLabel * data;
+               QPushButton * insertCart;
 };