[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/component - __init__.py:1.1.2.1 globalinterfaceservice.py:1.1.2.1
Jim Fulton
jim@zope.com
Mon, 23 Dec 2002 14:31:48 -0500
Update of /cvs-repository/Zope3/src/zope/app/interfaces/component
In directory cvs.zope.org:/tmp/cvs-serv19908/zope/app/interfaces/component
Added Files:
Tag: NameGeddon-branch
__init__.py globalinterfaceservice.py
Log Message:
Initial renaming before debugging
=== Added File Zope3/src/zope/app/interfaces/component/__init__.py ===
#
# This file is necessary to make this directory a package.
=== Added File Zope3/src/zope/app/interfaces/component/globalinterfaceservice.py ===
##############################################################################
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (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.
#
##############################################################################
"""
$Id: globalinterfaceservice.py,v 1.1.2.1 2002/12/23 19:31:47 jim Exp $
"""
from zope.app.component.globalinterfaceservice import IInterfaceService
class IGlobalInterfaceService(IInterfaceService):
"""Global registry for Interface
"""
def provideInterface(id, interface):
"""Register an interface with a given id
The id is the full dotted name for the interface.
If the id is false, the id will be computed from the interface
module and name.
"""
__doc__ = IGlobalInterfaceService.__doc__ + __doc__