src/pyams_template/interfaces.py
changeset 15 c3d0112a61f6
parent 0 31ded33115d7
equal deleted inserted replaced
14:b1ad46aa2d16 15:c3d0112a61f6
       
     1 #
       
     2 # Copyright (c) 2008-2015 Thierry Florac <tflorac AT ulthar.net>
       
     3 # All Rights Reserved.
       
     4 #
       
     5 # This software is subject to the provisions of the Zope Public License,
       
     6 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
       
     7 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
       
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
       
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
       
    10 # FOR A PARTICULAR PURPOSE.
       
    11 #
       
    12 
       
    13 """PyAMS_template.interfaces module
       
    14 
       
    15 Templates marker interfaces definitions
       
    16 """
       
    17 
       
    18 from zope.interface import Interface
       
    19 
       
    20 __docformat__ = 'restructuredtext'
       
    21 
       
    22 
       
    23 class IPageTemplate(Interface):
       
    24     """Base page template interface"""
       
    25 
       
    26 
       
    27 class ILayoutTemplate(IPageTemplate):
       
    28     """A template used for render the layout."""
       
    29 
       
    30 
       
    31 class IContentTemplate(IPageTemplate):
       
    32     """A template used for render the content."""