[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - interfaces.py:1.14.2.1

Tim Peters tim.one@comcast.net
Wed, 26 Feb 2003 16:20:02 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv23093/src/zope/app/interfaces/services

Modified Files:
      Tag: use-config-branch
	interfaces.py 
Log Message:
Added IService marker interface, and ISimpleService.  It's intended that
services implement ISimpleService, and this code also changes a number
of services to do so.  A number of services do not yet do so.  Guido
and I will tackle those in parallel next.


=== Zope3/src/zope/app/interfaces/services/interfaces.py 1.14 => 1.14.2.1 ===
--- Zope3/src/zope/app/interfaces/services/interfaces.py:1.14	Fri Feb 21 09:50:04 2003
+++ Zope3/src/zope/app/interfaces/services/interfaces.py	Wed Feb 26 16:19:31 2003
@@ -22,8 +22,14 @@
 from zope.schema import BytesLine, TextLine, Text
 from zope.interface import Interface
 from zope.app.services.field import ComponentPath
-from zope.component.interfaces import IPresentation
+from zope.component.interfaces import IPresentation, IService
 from zope.app.interfaces.container import IDeleteNotifiable
+from zope.app.interfaces.services.configuration import IAttributeUseConfigurable
+
+
+class ISimpleService(IService, IAttributeUseConfigurable):
+    """Most services should implement this."""
+
 
 class IAdapterConfigurationInfo(Interface):