[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - configuration.py:1.3.6.2
Tim Peters
tim.one@comcast.net
Mon, 24 Feb 2003 16:00:22 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv3226/src/zope/app/interfaces/services
Modified Files:
Tag: use-config-branch
configuration.py
Log Message:
New marker interfaces IUseConfigurable and IAttributeUseConfigurable.
=== Zope3/src/zope/app/interfaces/services/configuration.py 1.3.6.1 => 1.3.6.2 ===
--- Zope3/src/zope/app/interfaces/services/configuration.py:1.3.6.1 Mon Feb 24 15:32:58 2003
+++ Zope3/src/zope/app/interfaces/services/configuration.py Mon Feb 24 16:00:21 2003
@@ -20,6 +20,8 @@
from zope.schema import Text, TextLine
from zope.schema.interfaces import ITextLine
from zope.app.security.permission import PermissionField
+from zope.app.interfaces.annotation import IAnnotatable
+from zope.app.interfaces.annotation import IAttributeAnnotatable
Unregistered = u'Unregistered'
Registered = u'Registered'
@@ -253,7 +255,10 @@
returns default.
"""
-class IUseConfiguration(Interface):
+class IUseConfigurable(IAnnotatable):
+ """A marker interface."""
+
+class IUseConfiguration(IUseConfigurable):
"""An object that can keep track of its configured uses.
The object need not implement this functionality itself, but must at
@@ -278,3 +283,6 @@
A location is a physical path to a configuration object that
configures a usage.
"""
+
+class IAttributeUseConfigurable(IAttributeAnnotatable, IUseConfigurable):
+ """A marker interface."""