Package pyffi :: Package spells :: Module tga
[hide private]
[frames] | no frames]

Source Code for Module pyffi.spells.tga

 1  """ 
 2  :mod:`pyffi.spells.tga` --- Targa spells 
 3  ======================================== 
 4   
 5  There are no spells yet. 
 6  """ 
 7   
 8  # -------------------------------------------------------------------------- 
 9  # ***** BEGIN LICENSE BLOCK ***** 
10  # 
11  # Copyright (c) 2007-2011, NIF File Format Library and Tools. 
12  # All rights reserved. 
13  # 
14  # Redistribution and use in source and binary forms, with or without 
15  # modification, are permitted provided that the following conditions 
16  # are met: 
17  # 
18  #    * Redistributions of source code must retain the above copyright 
19  #      notice, this list of conditions and the following disclaimer. 
20  # 
21  #    * Redistributions in binary form must reproduce the above 
22  #      copyright notice, this list of conditions and the following 
23  #      disclaimer in the documentation and/or other materials provided 
24  #      with the distribution. 
25  # 
26  #    * Neither the name of the NIF File Format Library and Tools 
27  #      project nor the names of its contributors may be used to endorse 
28  #      or promote products derived from this software without specific 
29  #      prior written permission. 
30  # 
31  # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 
32  # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
33  # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
34  # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE 
35  # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, 
36  # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, 
37  # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
38  # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
39  # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
40  # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN 
41  # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 
42  # POSSIBILITY OF SUCH DAMAGE. 
43  # 
44  # ***** END LICENSE BLOCK ***** 
45  # -------------------------------------------------------------------------- 
46   
47  import pyffi.spells 
48  from pyffi.formats.tga import TgaFormat 
49   
50 -class TgaSpell(pyffi.spells.Spell):
51 """Base class for spells for tga files.""" 52 pass
53
54 -class TgaToaster(pyffi.spells.Toaster):
55 FILEFORMAT = TgaFormat
56