summaryrefslogtreecommitdiff
path: root/src/util.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-06-25 02:22:22 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2024-06-25 02:22:22 -0400
commitf6c00e6c11d5e2e316cb3aef3b611eda0ce2b683 (patch)
tree9c1f2f4a175b594f4e1f1605abe79856b7d9094a /src/util.hpp
parente65174f5aab55fe3917dd52f97b1b00a07d30d38 (diff)
parent53ad3903ee8e32197dd91d479415ad95f1e6269e (diff)
downloadabaddon-portaudio-f6c00e6c11d5e2e316cb3aef3b611eda0ce2b683.tar.gz
abaddon-portaudio-f6c00e6c11d5e2e316cb3aef3b611eda0ce2b683.zip
Merge branch 'master' into stages
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.hpp b/src/util.hpp
index fc9568b..4024e34 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -11,6 +11,7 @@
#include <regex>
#include <mutex>
#include <condition_variable>
+#include <glibconfig.h>
#include <optional>
#include <type_traits>
@@ -50,7 +51,8 @@ std::string GetExtension(std::string url);
bool IsURLViewableImage(const std::string &url);
std::vector<uint8_t> ReadWholeFile(const std::string &path);
std::string HumanReadableBytes(uint64_t bytes);
-std::string FormatISO8601(const std::string &in, int extra_offset = 0, const std::string &fmt = "%x %X");
+Glib::ustring FormatUnixEpoch(gint64 time, const std::string &fmt = "%x %X");
+Glib::ustring FormatISO8601(const std::string &in, int extra_offset = 0, const std::string &fmt = "%x %X");
void AddPointerCursor(Gtk::Widget &widget);
template<typename T>