Horizon
recent_util.hpp
1 #pragma once
2 #include "nlohmann/json_fwd.hpp"
3 #include <glibmm/datetime.h>
4 #include <map>
5 
6 namespace horizon {
7 using json = nlohmann::json;
8 void recent_from_json(std::map<std::string, Glib::DateTime> &recent_items, const json &j);
9 std::vector<std::pair<std::string, Glib::DateTime>>
10 recent_sort(const std::map<std::string, Glib::DateTime> &recent_items);
11 } // namespace horizon
a class to store JSON values
Definition: json.hpp:177
basic_json<> json
default JSON class
Definition: json_fwd.hpp:62