summaryrefslogtreecommitdiff
path: root/src/util.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.hpp')
-rw-r--r--src/util.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util.hpp b/src/util.hpp
index fc9568b..f839eca 100644
--- a/src/util.hpp
+++ b/src/util.hpp
@@ -14,6 +14,7 @@
#include <optional>
#include <type_traits>
+#include <gtkmm/enums.h>
#include <sigc++/slot.h>
namespace Glib {
@@ -38,6 +39,8 @@ bool IsFolder(std::string_view path);
bool IsFile(std::string_view path);
uint64_t TimeToEpoch(int year, int month, int day, int hour, int minute, int seconds);
+
+Gtk::PolicyType TranslateScrollPolicy(const std::string &str);
} // namespace util
void LaunchBrowser(const Glib::ustring &url);