src/ztfy/baseskin/tal/interfaces.py
changeset 0 747fc65e13e2
equal deleted inserted replaced
-1:000000000000 0:747fc65e13e2
       
     1 ### -*- coding: utf-8 -*- ####################################################
       
     2 ##############################################################################
       
     3 #
       
     4 # Copyright (c) 2008-2010 Thierry Florac <tflorac AT ulthar.net>
       
     5 # All Rights Reserved.
       
     6 #
       
     7 # This software is subject to the provisions of the Zope Public License,
       
     8 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
       
     9 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
       
    10 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
       
    11 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
       
    12 # FOR A PARTICULAR PURPOSE.
       
    13 #
       
    14 ##############################################################################
       
    15 
       
    16 __docformat__ = "restructuredtext"
       
    17 
       
    18 # import standard packages
       
    19 
       
    20 # import Zope3 interfaces
       
    21 
       
    22 # import local interfaces
       
    23 
       
    24 # import Zope3 packages
       
    25 from zope.interface import Interface
       
    26 
       
    27 # import local packages
       
    28 
       
    29 
       
    30 class ISkinTalesAPI(Interface):
       
    31     """'skin:' TALES namespace interface"""
       
    32 
       
    33     def presentation(self):
       
    34         """Get presentation of adapted context"""
       
    35 
       
    36 
       
    37 class IContentMetasAPI(Interface):
       
    38     """'metas' TALES namespace interface"""
       
    39 
       
    40     def items(self):
       
    41         """Get list of metas headers"""
       
    42 
       
    43     def render(self):
       
    44         """Get content metas headers"""