diff options
author | mbkma <[email protected]> | 2021-04-24 19:45:10 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-05-09 19:09:50 +0200 |
commit | 0b648d5782a9b6f050e6552bf62700495e161835 (patch) | |
tree | c9185497e98f3593f6243afb8466acffbd1e2de8 /src/procman.h | |
parent | c12b68367de45f1f7c28a9517a3e610873d2b9e4 (diff) | |
download | mate-system-monitor-0b648d5782a9b6f050e6552bf62700495e161835.tar.bz2 mate-system-monitor-0b648d5782a9b6f050e6552bf62700495e161835.tar.xz |
port to GtkApplication
see https://gitlab.gnome.org/GNOME/gnome-system-monitor/-/commit/aa625d19e7b72587f70fb18dc3dcfcdba528533e
Diffstat (limited to 'src/procman.h')
-rw-r--r-- | src/procman.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/procman.h b/src/procman.h index ca58cbf..176df7a 100644 --- a/src/procman.h +++ b/src/procman.h @@ -64,16 +64,6 @@ static const unsigned MIN_UPDATE_INTERVAL = 1 * 1000; static const unsigned MAX_UPDATE_INTERVAL = 100 * 1000; -namespace procman -{ - extern const std::string SHOW_SYSTEM_TAB_CMD; - extern const std::string SHOW_PROCESSES_TAB_CMD; - extern const std::string SHOW_RESOURCES_TAB_CMD; - extern const std::string SHOW_FILE_SYSTEMS_TAB_CMD; -} - - - enum ProcmanTab { PROCMAN_TAB_SYSINFO, @@ -250,6 +240,8 @@ struct ProcData guint64 cpu_total_time; guint64 cpu_total_time_last; + gboolean terminating; + private: ProcData(); /* undefined */ ProcData(const ProcData &); |