[silva.core.interfaces][Sylvain Viollon] Add an interface to mar...

[email protected] Fri, 25 Oct 2013 15:55:38 +0200
Newsgroups gmane.comp.web.zope.silva.cvs
Message-ID <[email protected]>
author:    Sylvain Viollon
date:      Fri Oct 25 15:55:32 2013 +0200
revision:  252:79347bf90281 in silva.core.interfaces
branch:    2.4
details:   https://hg.infrae.com/silva.core.interfaces?cmd=changeset;node=79347bf90281
modified:  src/silva/core/interfaces/service.py
added:     
removed:   
log:       Add an interface to mark services displayable in SMI.


diffstat:

 src/silva/core/interfaces/service.py |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 30c302c56274 -r 79347bf90281 src/silva/core/interfaces/service.py
--- a/src/silva/core/interfaces/service.py	Tue Oct 22 12:02:29 2013 +0200
+++ b/src/silva/core/interfaces/service.py	Fri Oct 25 15:55:32 2013 +0200
@@ -2,7 +2,6 @@
 # Copyright (c) 2002-2013 Infrae. All rights reserved.
 # See also LICENSE.txt
 
-from zope.interface import Interface
 import zope.deferredimport
 from grokcore.component.interfaces import IContext
 from silva.core.interfaces.content import IReferable
@@ -29,6 +28,11 @@
     """
 
 
+class ISilvaConfigurableService(ISilvaService):
+    """A Silva service with configuration screen in SMI.
+    """
+
+
 class ISilvaInvisibleService(ISilvaService):
     """A Silva service that is not visible in the ZMI.