root/CPS3/examples/MyProject/trunk/interfaces.py

Revision 32223, 1.3 kB (checked in by sfermigier, 4 years ago)

Minor typos.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 # (C) Copyright 2006 Nuxeo SAS <http://nuxeo.com>
2 # Author: Olivier Grisel <og@nuxeo.com>
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License version 2 as published
6 # by the Free Software Foundation.
7 #
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11 # GNU General Public License for more details.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
16 # 02111-1307, USA.
17 #
18 # $Id$
19 """MyProject interfaces.
20
21 Interfaces and components were first introduced for the Zope3 architecture.
22 However they can also be used for Zope 2.9 applications, such as CMF and CPS.
23 Currently they are used by the GenericSetup tool to adapt persistent objects
24 that are worth importing / exporting to their dedicated XMLAdapter.
25
26 In our case, we want the state of our vogon tool to be GenericSetup-aware.
27 Please see the exportimport.py file for more details on the corresponding
28 XMLAdapter.
29 """
30
31 from zope.interface import Interface
32
33 class IVogonTool(Interface):
34     """Subscriptions Tool.
35     """
Note: See TracBrowser for help on using the browser.