Use labs() for long instead of abs()
[ardour.git] / gtk2_ardour / session_dialog.h
index 8f5d6b2a7a14c2e82b7951a885907136ee90f88b..f7e86fb7dbc90d47f6f00da8d41c4bb0b866cc9b 100644 (file)
@@ -55,8 +55,6 @@ public:
        SessionDialog ();
        ~SessionDialog ();
 
-       void clear_given ();
-
        std::string session_name (bool& should_be_new);
        std::string session_folder ();
 
@@ -65,15 +63,11 @@ public:
 
        uint32_t master_channel_count();
 
-       void set_provided_session(const std::string& session_name, const std::string& session_path) {
-               _provided_session_name = session_name;
-               _provided_session_path = session_path;
-       }
+       void set_provided_session (std::string const & name, std::string const & path);
+       void clear_name ();
 
 private:
        bool new_only;
-       std::string _provided_session_name;
-       std::string _provided_session_path;
 
        bool on_delete_event (GdkEventAny*);
 
@@ -191,7 +185,7 @@ private:
        void disable_plugins_clicked ();
 
        /* meta-template */
-       uint32_t meta_master_bus_profile (std::string script) const;
+       static uint32_t meta_master_bus_profile (std::string script);
 
        /* always there */