1
# vim: set ts=4 sw=4 et:
4
# Copyright (C) 2005 Vincent Untz <vuntz@gnome.org>
6
# This program is free software; you can redistribute it and/or modify
7
# it under the terms of the GNU General Public License as published by
8
# the Free Software Foundation; either version 2 of the License, or
9
# (at your option) any later version.
11
# This program is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU General Public License
17
# along with this program; if not, write to the Free Software
18
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21
class PessulusLockdownApplier:
23
raise NotImplementedError
25
def supports_mandatory_settings (self):
26
raise NotImplementedError
28
def get_schema (self, key):
29
raise NotImplementedError
31
def get_bool (self, key):
32
raise NotImplementedError
34
def set_bool (self, key, value, mandatory):
35
raise NotImplementedError
37
def get_list (self, key, list_type):
38
raise NotImplementedError
40
def set_list (self, key, list_type, value, mandatory):
41
raise NotImplementedError
43
def key_is_writable (self, key):
44
raise NotImplementedError
46
def notify_add (self, key, handler, data = None):
47
raise NotImplementedError
49
def notify_remove (self, monitor):
50
raise NotImplementedError
52
def add_dir (self, dir, preloadtype):
53
raise NotImplementedError
55
def remove_dir (self, dir):
56
raise NotImplementedError