blob: 1dd347085042e7cc4ce33bcacf269cb54d0ce888 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef H_MATE_SYSTEM_MONITOR_SELECTION_H_1183113337
#define H_MATE_SYSTEM_MONITOR_SELECTION_H_1183113337
#include <sys/types.h>
#include <gtk/gtk.h>
#include <vector>
namespace procman
{
class SelectionMemento
{
std::vector<pid_t> pids;
static void add_to_selected(GtkTreeModel* model, GtkTreePath* path, GtkTreeIter* iter, gpointer data);
public:
void save(GtkWidget* tree);
void restore(GtkWidget* tree);
};
}
#endif /* H_MATE_SYSTEM_MONITOR_SELECTION_H_1183113337 */
|