From d6663fe7b71db340b3c7a1d069c473f725caa3a8 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Mon, 29 Aug 2022 12:19:25 -0400 Subject: Trying to support the superior operating system. Also reformat a bit of legacy code. Smells like mold. --- signature.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'signature.hpp') diff --git a/signature.hpp b/signature.hpp index b3c5c40..0197e75 100644 --- a/signature.hpp +++ b/signature.hpp @@ -2,6 +2,7 @@ #define SIGNATURE_HPP #include +#include #include struct signature_config @@ -36,6 +37,8 @@ public: double distance(const signature &o) const; bool operator ==(const signature &o) const; + static signature from_path(const std::filesystem::path &path, const signature_config &cfg); + static signature from_file(const char *fn, const signature_config &cfg); /* -- cgit v1.2.3