2
# This file is part of GNU Enterprise.
4
# GNU Enterprise is free software; you can redistribute it
5
# and/or modify it under the terms of the GNU General Public
6
# License as published by the Free Software Foundation; either
7
# version 2, or (at your option) any later version.
9
# GNU Enterprise is distributed in the hope that it will be
10
# useful, but WITHOUT ANY WARRANTY; without even the implied
11
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
# PURPOSE. See the GNU General Public License for more details.
14
# You should have received a copy of the GNU General Public
15
# License along with program; see the file COPYING. If not,
16
# write to the Free Software Foundation, Inc., 59 Temple Place
17
# - Suite 330, Boston, MA 02111-1307, USA.
19
# Copyright 2000-2005 Free Software Foundation
26
# A base class inherited by GObj. It's only purpose
27
# is to keep all the trigger code in one place instead
28
# of tacking some trigger code into GObj directly
29
# It's in it's own file to prevent circular imports
40
self._triggerGlobal = 0
41
self._triggerFunctions = {}
43
self._triggerProperties = {}
46
# Dictionary representing this object's
47
# local namespace. Populated as part of
48
# GTriggerNamespace.constructTriggerObject
50
self._localTriggerNamespace = {}
53
# Links to functions to be used when
54
# trigger attempts to directly set or get
57
self._triggerSet = None
58
self._triggerGet = None
62
# Dict of triggers that are valid for this specific
65
self._validTriggers = {}