2
2
Eiciel - GNOME editor of ACL file permissions.
3
Copyright (C) 2004-2010 Roger Ferrer Ib��ez
3
Copyright (C) 2004-2014 Roger Ferrer Ib��ez
5
5
This program is free software; you can redistribute it and/or modify
6
6
it under the terms of the GNU General Public License as published by
33
33
class EicielMainController : public sigc::trackable
36
ACLManager* _ACL_manager;
37
EicielWindow* _window;
36
ACLManager* _ACL_manager;
37
EicielWindow* _window;
38
38
set<string> _users_list;
39
39
set<string> _groups_list;
41
bool _updating_window;
42
Glib::ustring _last_error_message;
44
bool _list_must_be_updated;
47
void update_acl_list();
48
void update_acl_entry(ElementKind e, string name,
49
bool reading, bool writing, bool execution);
50
void remove_acl(string entry_name, ElementKind e);
51
void add_acl_entry(string s, ElementKind e, bool is_default);
52
void change_default_acl();
55
void show_system_participants(bool b);
56
void check_editable();
41
bool _updating_window;
42
Glib::ustring _last_error_message;
44
bool _list_must_be_updated;
47
void update_acl_list();
48
void update_acl_entry(ElementKind e, string name,
49
bool reading, bool writing, bool execution);
50
void remove_acl(string entry_name, ElementKind e);
51
void add_acl_entry(string s, ElementKind e, bool is_default);
52
void change_default_acl();
55
void show_system_participants(bool b);
56
void check_editable();
58
58
set<string> get_users_list();
59
59
set<string> get_groups_list();
62
62
bool lookup_group(const std::string& str);
64
64
bool is_directory();
66
void open_file(string s);
67
Glib::ustring last_error();
69
friend class EicielWindow;
70
EicielMainController();
71
~EicielMainController();
66
void open_file(string s);
67
Glib::ustring last_error();
69
friend class EicielWindow;
70
EicielMainController();
71
~EicielMainController();