summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-06-26 19:39:40 +0200
committerRobin Gareus <robin@gareus.org>2017-06-26 19:39:40 +0200
commit007f3cdbba01b58dc37ec214836ab0960ee13f82 (patch)
treed4d5ea5266b04d878537590ababee60c5d61be04 /libs/ardour/ardour
parenta1cd4f8dfe2e301b677506c8a79d1f25ecd36b7c (diff)
Add convenience fn to compute a file's sha1sum
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r--libs/ardour/ardour/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/ardour/utils.h b/libs/ardour/ardour/utils.h
index 1208d9ce77..77dc8236a7 100644
--- a/libs/ardour/ardour/utils.h
+++ b/libs/ardour/ardour/utils.h
@@ -106,6 +106,8 @@ LIBARDOUR_API bool matching_unsuffixed_filename_exists_in (const std::string& di
LIBARDOUR_API uint32_t how_many_dsp_threads ();
+LIBARDOUR_API std::string compute_sha1_of_file (std::string path);
+
template<typename T> boost::shared_ptr<ControlList> route_list_to_control_list (boost::shared_ptr<RouteList> rl, boost::shared_ptr<T> (Stripable::*get_control)() const) {
boost::shared_ptr<ControlList> cl (new ControlList);
if (!rl) { return cl; }