Commit 4d27e8e9 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add ISolver interface declaration.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31290 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57927a18
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
import zope.interface import zope.interface
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet, interfaces
from Products.ERP5Type.XMLObject import XMLObject from Products.ERP5Type.XMLObject import XMLObject
class AcceptSolver(XMLObject): class AcceptSolver(XMLObject):
...@@ -53,7 +53,10 @@ class AcceptSolver(XMLObject): ...@@ -53,7 +53,10 @@ class AcceptSolver(XMLObject):
, PropertySheet.SolverSelection , PropertySheet.SolverSelection
) )
# Implementation # Declarative interfaces
zope.interface.implements(interfaces.ISolver,)
# ISolver Implementation
def solve(self): def solve(self):
""" """
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment