3 #include "util/uuid.hpp"
4 #include "nlohmann/json_fwd.hpp"
8 #include <glibmm/datetime.h>
14 #include "preferences/preferences.hpp"
24 static Glib::RefPtr<PoolProjectManagerApplication> create();
25 std::string get_config_filename();
26 const std::string &get_ep_broadcast()
const;
27 void send_json(
int pid,
const json &j);
30 std::map<std::string, Glib::DateTime> recent_items;
32 std::deque<UUID> part_favorites;
34 void close_appwindows(std::set<Gtk::Window *> wins);
37 void open_pool(
const std::string &pool_json, ObjectType type = ObjectType::INVALID,
const UUID &uu =
UUID(),
38 guint32 timestamp = 0);
44 void on_activate()
override;
45 void on_startup()
override;
47 void on_open(
const Gio::Application::type_vec_files &files,
const Glib::ustring &hint)
override;
49 std::string sock_broadcast_ep;
54 void on_hide_window(Gtk::Window *window);
55 void on_action_quit();
56 void on_action_new_window();
57 void on_action_about();
58 void load_from_config(
const std::string &config_filename);
64 zmq::socket_t sock_broadcast;