[Zope3-checkins] CVS: Zope3/src/zope/app/event - globalservice.py:1.4.4.1
Tim Peters
tim.one@comcast.net
Wed, 26 Feb 2003 16:20:01 -0500
Update of /cvs-repository/Zope3/src/zope/app/event
In directory cvs.zope.org:/tmp/cvs-serv23093/src/zope/app/event
Modified Files:
Tag: use-config-branch
globalservice.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/event/globalservice.py 1.4 => 1.4.4.1 ===
--- Zope3/src/zope/app/event/globalservice.py:1.4 Mon Jan 27 13:51:00 2003
+++ Zope3/src/zope/app/event/globalservice.py Wed Feb 26 16:19:30 2003
@@ -26,6 +26,7 @@
from zope.app.interfaces.event import IEvent, ISubscriber, ISubscribingAware
from zope.app.interfaces.event import IGlobalSubscribable, IPublisher
+from zope.app.interfaces.services.interfaces import ISimpleService
from zope.configuration.action import Action
@@ -246,7 +247,7 @@
class GlobalEventPublisher(GlobalSubscribable):
- __implements__ = IGlobalSubscribable, IPublisher
+ __implements__ = IGlobalSubscribable, IPublisher, ISimpleService
publish = globalNotifyOrPublish