[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - query.py:1.4
Steve Alexander
steve@cat-box.net
Sun, 5 Jan 2003 14:01:54 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv19941/src/zope/app/interfaces/services
Modified Files:
query.py
Log Message:
Added IQueryProcessable marker interface.
=== Zope3/src/zope/app/interfaces/services/query.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/services/query.py:1.3 Mon Dec 30 13:43:08 2002
+++ Zope3/src/zope/app/interfaces/services/query.py Sun Jan 5 14:01:49 2003
@@ -18,11 +18,15 @@
from zope.interface import Interface, Attribute
from zope.app.security.permission import PermissionField
-from zope.app.interfaces.services.configuration \
- import INamedConfigurationInfo, INamedConfiguration
+from zope.app.interfaces.services.configuration import INamedConfigurationInfo
+from zope.app.interfaces.services.configuration import INamedConfiguration
from zope.app.component.interfacefield import InterfacesField
-class IQueryProcessor(Interface):
+class IQueryProcessable(Interface):
+ """Marker interface that says that the implementing component is adaptable
+ to IQueryProcessor, although maybe only via a named adapter."""
+
+class IQueryProcessor(IQueryProcessable):
inputInterfaces = Attribute("Sequence of input interfaces")
outputInterfaces = Attribute("Sequence of output interfaces")
@@ -55,6 +59,5 @@
outputInterfaces = InterfacesField(title=u'Output interfaces')
class IQueryConfiguration(IQueryConfigurationInfo, INamedConfiguration):
-
pass