Move format_position to utils

This will allow other places to reuse this method.
This commit is contained in:
Robin Gareus 2023-08-26 13:30:44 +02:00
parent 32ef2d5a0f
commit 09e82c1607
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04
4 changed files with 79 additions and 68 deletions

View file

@ -59,6 +59,7 @@ namespace ArdourCanvas {
namespace ARDOUR {
class Auditioner;
class Session;
class Trigger;
}
@ -117,5 +118,7 @@ void copy_patch_changes (std::shared_ptr<ARDOUR::Auditioner>, std::shared_ptr<AR
bool convert_drop_to_paths (std::vector<std::string>&, const Gtk::SelectionData&);
void format_position (ARDOUR::Session*, Temporal::timepos_t const& pos, char* buf, size_t bufsize, bool onoff = true);
} // namespace
#endif /* __ardour_gtk_utils_h__ */