add StartupFSM::end() (empty for now) and remove unused states
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 10 Oct 2019 21:22:44 +0000 (15:22 -0600)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 10 Oct 2019 22:52:00 +0000 (16:52 -0600)
gtk2_ardour/startup_fsm.cc
gtk2_ardour/startup_fsm.h

index 53610b698479d9a91c713090ae31317c1e7f02f8..d77d2bc9d5a0162fefd8a18322ab66e056695294 100644 (file)
@@ -103,6 +103,13 @@ StartupFSM::start ()
        }
 }
 
+
+void
+StartupFSM::end()
+{
+
+}
+
 void
 StartupFSM::dialog_response_handler (int response, StartupFSM::DialogID dialog_id)
 {
@@ -241,12 +248,7 @@ StartupFSM::dialog_response_handler (int response, StartupFSM::DialogID dialog_i
                }
 
        case NeedWizard:
-               break;
-
-       case NeedSessionSR:
-               break;
-
-       case NeedEngine:
+               /* ERROR */
                break;
        }
 }
index a1d52eb11a6d17258a93557d7e2d221f8c06e827..14ba7faa8b7e8e09020c42dc80a1f7d40916c849 100644 (file)
@@ -48,6 +48,7 @@ class StartupFSM : public sigc::trackable
        ~StartupFSM ();
 
        void start ();
+       void end ();
 
        std::string session_path;
        std::string session_name;
@@ -63,14 +64,12 @@ class StartupFSM : public sigc::trackable
        sigc::signal1<void,Result>& signal_response() { return _signal_response; }
 
        bool brand_new_user() const { return new_user; }
-       
+
   private:
        enum MainState {
                NeedWizard,
                NeedSessionPath,
-               NeedSessionSR,
                NeedEngineParams,
-               NeedEngine
        };
 
        bool new_user;