76 struct Columns :
public Gtk::TreeModel::ColumnRecord {
90 Gtk::TreeModelColumn<Glib::ustring>
col_ip;
92 Gtk::TreeModelColumn<Glib::ustring>
col_app;
93 Gtk::TreeModelColumn<Glib::ustring>
col_isp;
145 std::unordered_map<std::string, Pin>
m_pins;
146 std::unordered_map<std::string, Gtk::TreeModel::iterator>
m_rows;
151 std::vector<std::pair<std::string, bsc::ui_util::GeoEntry>>
m_pendingGeo;
160 const std::string& country_name,
161 const std::string& city,
162 const std::string& ip,
163 const std::string& host,
164 const std::string& app_name,
165 const std::string& isp,
void noteConnection(const ConnectionInfo &info)
bool shouldHoldUserViewport() const
static constexpr int64_t kRetentionSeconds
Glib::RefPtr< Gtk::ListStore > m_store
std::unordered_map< std::string, Gtk::TreeModel::iterator > m_rows
GtkWidget * m_hoverCardTitle
std::vector< std::pair< std::string, bsc::ui_util::GeoEntry > > m_pendingGeo
GtkWidget * createSelfMarkerWidget()
void drawConnectionArcs(cairo_t *cr, int width, int height)
std::chrono::steady_clock::time_point m_lastUserViewportInteraction
Gtk::Label m_summaryLabel
Glib::Dispatcher m_geoDispatcher
void updateRow(const Pin &pin)
void showHoverCard(const std::string &country_code, const std::string &country_name, const std::string &city, const std::string &ip, const std::string &host, const std::string &app_name, const std::string &isp, uint32_t hits)
GtkWidget * createHoverCard()
void requestSelfLocation()
void noteUserViewportInteraction()
ShumateViewport * m_viewport
ShumateMarkerLayer * m_markerLayer
GtkWidget * createMarkerWidget(const Pin &pin)
Gtk::ScrolledWindow m_scroll
void maybeRecenterMap(const std::vector< Pin > &pins)
std::unordered_map< std::string, Pin > m_pins
static std::string logPath()
GtkWidget * m_hoverCardBody
Gtk::TreeModelColumn< Glib::ustring > col_country
Gtk::TreeModelColumn< Glib::ustring > col_app
Gtk::TreeModelColumn< uint32_t > col_hits
Gtk::TreeModelColumn< Glib::ustring > col_isp
Gtk::TreeModelColumn< Glib::ustring > col_host
Gtk::TreeModelColumn< Glib::ustring > col_city
Gtk::TreeModelColumn< Glib::ustring > col_ip
std::chrono::steady_clock::time_point last_seen