Converted package to module
authorThierry Florac <thierry.florac@onf.fr>
Tue, 29 Jan 2019 16:52:23 +0100
changeset 410 61788d2c539f
parent 409 fc623fa4f4ac
child 411 182295d018f7
Converted package to module
src/pyams_default_theme/interfaces.py
src/pyams_default_theme/interfaces/__init__.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/pyams_default_theme/interfaces.py	Tue Jan 29 16:52:23 2019 +0100
@@ -0,0 +1,55 @@
+#
+# Copyright (c) 2008-2018 Thierry Florac <tflorac AT ulthar.net>
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+
+__docformat__ = 'restructuredtext'
+
+from zope.interface import Interface, Attribute
+
+
+class IContentNavigationTitle(Interface):
+    """Content navigation title"""
+
+
+class IContentTag(Interface):
+    """Content tag interface"""
+
+
+class IContentDate(Interface):
+    """Content date interface"""
+
+
+class IContentBannerIllustration(Interface):
+    """Content banner illustration adapter interface"""
+
+
+class IContentHeaderIllustration(Interface):
+    """Content header illustration adapter interface"""
+
+
+class IContentNavigationIllustration(Interface):
+    """Content navigation illustration adapter interface"""
+
+
+class IContentSummaryInfo(Interface):
+    """Content interface for site summary page"""
+
+    context = Attribute("Link to adapted context")
+
+    title = Attribute("Content's title")
+
+    header = Attribute("Header")
+
+    button_title = Attribute("Button's target")
+
+
+class ISearchResultsView(Interface):
+    """Search results view marker interface"""
--- a/src/pyams_default_theme/interfaces/__init__.py	Tue Jan 29 15:58:25 2019 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-#
-# Copyright (c) 2008-2018 Thierry Florac <tflorac AT ulthar.net>
-# All Rights Reserved.
-#
-# This software is subject to the provisions of the Zope Public License,
-# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
-# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
-# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
-# FOR A PARTICULAR PURPOSE.
-#
-
-__docformat__ = 'restructuredtext'
-
-from zope.interface import Interface, Attribute
-
-
-class IContentNavigationTitle(Interface):
-    """Content navigation title"""
-
-
-class IContentTag(Interface):
-    """Content tag interface"""
-
-
-class IContentDate(Interface):
-    """Content date interface"""
-
-
-class IContentBannerIllustration(Interface):
-    """Content banner illustration adapter interface"""
-
-
-class IContentHeaderIllustration(Interface):
-    """Content header illustration adapter interface"""
-
-
-class IContentNavigationIllustration(Interface):
-    """Content navigation illustration adapter interface"""
-
-
-class IContentSummaryInfo(Interface):
-    """Content interface for site summary page"""
-
-    context = Attribute("Link to adapted context")
-
-    title = Attribute("Content's title")
-
-    header = Attribute("Header")
-
-    button_title = Attribute("Button's target")
-
-
-class ISearchResultsView(Interface):
-    """Search results view marker interface"""