~ubuntu-branches/ubuntu/utopic/eiciel/utopic

« back to all changes in this revision

Viewing changes to src/eiciel_xattr_controller.hpp

  • Committer: Package Import Robot
  • Author(s): Michael Biebl
  • Date: 2014-08-20 15:02:46 UTC
  • mfrom: (11.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20140820150246-ngv7lwsuk498knpk
Tags: 0.9.9-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
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
4
4
 
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
27
27
 
28
28
class EicielXAttrController : public sigc::trackable
29
29
{
30
 
        private:
31
 
                XAttrManager* _xattr_manager;
32
 
                EicielXAttrWindow* _window;
33
 
                bool _opened_file;
34
 
 
35
 
                void remove_attribute(const Glib::ustring& attrib_name) throw (XAttrManagerException);
36
 
 
37
 
                void add_attribute(const Glib::ustring& attrib_name, 
 
30
    private:
 
31
        XAttrManager* _xattr_manager;
 
32
        EicielXAttrWindow* _window;
 
33
        bool _opened_file;
 
34
 
 
35
        void remove_attribute(const Glib::ustring& attrib_name) throw (XAttrManagerException);
 
36
 
 
37
        void add_attribute(const Glib::ustring& attrib_name, 
38
38
                const Glib::ustring& attrib_value) throw (XAttrManagerException);
39
 
                void update_attribute_value(const Glib::ustring& attrib_name, 
 
39
        void update_attribute_value(const Glib::ustring& attrib_name, 
40
40
                const Glib::ustring& attrib_new_value) throw (XAttrManagerException) ;
41
 
                void update_attribute_name(const Glib::ustring& old_attribute_name, 
 
41
        void update_attribute_name(const Glib::ustring& old_attribute_name, 
42
42
                const Glib::ustring& new_attribute_name) throw (XAttrManagerException);
43
43
 
44
 
                void check_editable();
45
 
        public:
46
 
                EicielXAttrController();
47
 
                bool opened_file() { return _opened_file; };
48
 
 
49
 
                void open_file(const Glib::ustring& filename) throw (XAttrManagerException);
50
 
 
51
 
                friend class EicielXAttrWindow;
 
44
        void check_editable();
 
45
    public:
 
46
        EicielXAttrController();
 
47
        bool opened_file() { return _opened_file; };
 
48
 
 
49
        void open_file(const Glib::ustring& filename) throw (XAttrManagerException);
 
50
 
 
51
        friend class EicielXAttrWindow;
52
52
}
53
53
;
54
54