src/pyams_skin/layer.py
changeset 0 bb4aabe07487
child 155 cd3ab32436f0
equal deleted inserted replaced
-1:000000000000 0:bb4aabe07487
       
     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 __docformat__ = 'restructuredtext'
       
    14 
       
    15 
       
    16 # import standard library
       
    17 
       
    18 # import interfaces
       
    19 from pyramid.interfaces import IRequest
       
    20 from z3c.form.interfaces import IFormLayer
       
    21 from zope.publisher.interfaces.browser import IBrowserRequest
       
    22 
       
    23 # import packages
       
    24 
       
    25 
       
    26 class IBaseLayer(IRequest, IBrowserRequest):
       
    27     """Base layer interface"""
       
    28 
       
    29 
       
    30 class IPyAMSLayer(IBaseLayer, IFormLayer):
       
    31     """PyAMS default layer"""