public:
// explicit CSP_DiskParams(QObject *parent = 0);
CSP_DiskParams(QObject *parent = 0) : QObject(parent){
- record = false;
+ play = true;
drive = 0;
}
~CSP_DiskParams() {}
void setDrive(int num) {if((num < 0) || (num >= 8)) num = 0; drive = num;}
int getDrive(void) { return drive;}
- void setRecMode(bool num) {record = num; }
+ void setRecMode(bool num) {play = num; }
int getRecMode(void) {
- if(record) return 1;
+ if(play) return 1;
return 0;;
}
int do_close_disk(int);
int do_open_cart(int, QString);
int do_close_cart(int);
- int do_open_cmt(QString);
+ int do_open_cmt(bool, QString);
int do_close_cmt();
public slots:
void _open_cmt(const QString fname);
private:
int drive;
- bool record;
+ bool play;
} CSP_FileParams;
typedef class CSP_DiskDialog : public QFileDialog {
#endif
#ifdef USE_FD1
#endif
-#ifdef USE_TAPE
-extern void open_tape_dialog(QWidget *hWnd, bool play);
-#endif
}
-#endif //End.
\ No newline at end of file
+#endif //End.