void show_splash ();
void hide_splash ();
- void launch_chat ();
- void launch_manual ();
- void launch_reference ();
+ void launch_chat ();
+ void launch_manual ();
+ void launch_reference ();
void show_about ();
void hide_about ();
- void idle_load (const Glib::ustring& path);
+ void idle_load (const std::string& path);
void finish();
- int load_session (const Glib::ustring& path, const Glib::ustring& snapshot, Glib::ustring mix_template = Glib::ustring());
+ int load_session (const std::string& path, const std::string& snapshot, std::string mix_template = std::string());
bool session_loaded;
- int build_session (const Glib::ustring& path, const Glib::ustring& snapshot, ARDOUR::BusProfile&);
+ int build_session (const std::string& path, const std::string& snapshot, ARDOUR::BusProfile&);
bool session_is_new() const { return _session_is_new; }
ARDOUR::Session* the_session() { return _session; }
}
int get_session_parameters (bool quit_on_cancel, bool should_be_new = false, std::string load_template = "");
- void parse_cmdline_path (const Glib::ustring& cmdline_path, Glib::ustring& session_name, Glib::ustring& session_path, bool& existing_session);
- int load_cmdline_session (const Glib::ustring& session_name, const Glib::ustring& session_path, bool& existing_session);
- int build_session_from_nsd (const Glib::ustring& session_name, const Glib::ustring& session_path);
- bool ask_about_loading_existing_session (const Glib::ustring& session_path);
+ void parse_cmdline_path (const std::string& cmdline_path, std::string& session_name, std::string& session_path, bool& existing_session);
+ int load_cmdline_session (const std::string& session_name, const std::string& session_path, bool& existing_session);
+ int build_session_from_nsd (const std::string& session_name, const std::string& session_path);
+ bool ask_about_loading_existing_session (const std::string& session_path);
/// @return true if session was successfully unloaded.
int unload_session (bool hide_stuff = false);
XMLNode* editor_settings() const;
XMLNode* mixer_settings () const;
XMLNode* keyboard_settings () const;
- XMLNode* tearoff_settings (const char*) const;
+ XMLNode* tearoff_settings (const char*) const;
void save_ardour_state ();
gboolean configure_handler (GdkEventConfigure* conf);
- void do_transport_locate (nframes_t position);
+ void do_transport_locate (nframes_t, bool);
void halt_on_xrun_message ();
void xrun_handler (nframes_t);
void create_xrun_marker (nframes_t);
void restore_clock_modes ();
void reset_main_clocks ();
- void synchronize_sync_source_and_video_pullup ();
+ void synchronize_sync_source_and_video_pullup ();
void add_route (Gtk::Window* float_window);
void add_window_proxy (WindowProxyBase *);
void remove_window_proxy (WindowProxyBase *);
-
+
protected:
friend class PublicEditor;
void goto_editor_window ();
void goto_mixer_window ();
- void toggle_editor_mixer_on_top ();
- bool _mixer_on_top;
+ void toggle_mixer_window ();
+ void toggle_mixer_on_top ();
Gtk::ToggleButton preroll_button;
Gtk::ToggleButton postroll_button;
void about_signal_response(int response);
- private:
Gtk::VBox top_packer;
sigc::connection clock_signal_connection;
AudioClock big_clock;
ActionWindowProxy<Gtk::Window>* big_clock_window;
- int original_big_clock_width;
- int original_big_clock_height;
- double original_big_clock_font_size;
+ int original_big_clock_width;
+ int original_big_clock_height;
+ double original_big_clock_font_size;
void big_clock_size_allocate (Gtk::Allocation&);
bool idle_big_clock_text_resizer (int width, int height);
add (visible_name);
add (fullpath);
}
- Gtk::TreeModelColumn<Glib::ustring> visible_name;
- Gtk::TreeModelColumn<Glib::ustring> fullpath;
+ Gtk::TreeModelColumn<std::string> visible_name;
+ Gtk::TreeModelColumn<std::string> fullpath;
};
RecentSessionModelColumns recent_session_columns;
sigc::connection point_oh_five_second_connection;
sigc::connection point_zero_one_second_connection;
+ AudioClock _menu_bar_clock;
+ sigc::connection _menu_bar_clock_connection;
+ void menu_bar_clock_value_changed ();
+ void show_menu_bar_clock ();
+ void hide_menu_bar_clock ();
+
gint session_menu (GdkEventButton *);
bool _will_create_new_session_automatically;
void queue_finish ();
std::list<WindowProxyBase*> _window_proxies;
+
+ int missing_file (ARDOUR::Session*s, std::string str, ARDOUR::DataType type);
};
#endif /* __ardour_gui_h__ */