OSDN Git Service

[VM] Floppy / CMT : Add Write protection feature, but testing is not enough X-)
[csp-qt/common_source_project-fm7.git] / source / src / qt / common / qt_dialogs.h
index 57a376b..0dbbaa3 100644 (file)
@@ -11,15 +11,15 @@ typedef class CSP_DiskParams : public QObject {
  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;;
    }
    
@@ -28,7 +28,7 @@ typedef class CSP_DiskParams : public QObject {
    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:
@@ -37,7 +37,7 @@ typedef class CSP_DiskParams : public QObject {
      void _open_cmt(const QString fname);
  private:
    int drive;
-   bool record;
+   bool play;
 } CSP_FileParams;
 
 typedef class CSP_DiskDialog : public QFileDialog {
@@ -60,9 +60,6 @@ extern void open_cart_dialog(QWidget *hWnd, int drv);
 #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.