Bugfix : Zooming works correct, no more errors on screen.
[xara-cairo.git] / wxOil / fthelper.h
blobda647b7ddfa0dc48b73f35487757cba1d173f96b
1 // $Id: fthelper.h 751 2006-03-31 15:43:49Z alex $
2 // Header for the FlareTemplateHelper class
3 /* @@tag:xara-cn@@ DO NOT MODIFY THIS LINE
4 ================================XARAHEADERSTART===========================
6 Xara LX, a vector drawing and manipulation program.
7 Copyright (C) 1993-2006 Xara Group Ltd.
8 Copyright on certain contributions may be held in joint with their
9 respective authors. See AUTHORS file for details.
11 LICENSE TO USE AND MODIFY SOFTWARE
12 ----------------------------------
14 This file is part of Xara LX.
16 Xara LX is free software; you can redistribute it and/or modify it
17 under the terms of the GNU General Public License version 2 as published
18 by the Free Software Foundation.
20 Xara LX and its component source files are distributed in the hope
21 that it will be useful, but WITHOUT ANY WARRANTY; without even the
22 implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
23 See the GNU General Public License for more details.
25 You should have received a copy of the GNU General Public License along
26 with Xara LX (see the file GPL in the root directory of the
27 distribution); if not, write to the Free Software Foundation, Inc., 51
28 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31 ADDITIONAL RIGHTS
32 -----------------
34 Conditional upon your continuing compliance with the GNU General Public
35 License described above, Xara Group Ltd grants to you certain additional
36 rights.
38 The additional rights are to use, modify, and distribute the software
39 together with the wxWidgets library, the wxXtra library, and the "CDraw"
40 library and any other such library that any version of Xara LX relased
41 by Xara Group Ltd requires in order to compile and execute, including
42 the static linking of that library to XaraLX. In the case of the
43 "CDraw" library, you may satisfy obligation under the GNU General Public
44 License to provide source code by providing a binary copy of the library
45 concerned and a copy of the license accompanying it.
47 Nothing in this section restricts any of the rights you have under
48 the GNU General Public License.
51 SCOPE OF LICENSE
52 ----------------
54 This license applies to this program (XaraLX) and its constituent source
55 files only, and does not necessarily apply to other Xara products which may
56 in part share the same code base, and are subject to their own licensing
57 terms.
59 This license does not apply to files in the wxXtra directory, which
60 are built into a separate library, and are subject to the wxWindows
61 license contained within that directory in the file "WXXTRA-LICENSE".
63 This license does not apply to the binary libraries (if any) within
64 the "libs" directory, which are subject to a separate license contained
65 within that directory in the file "LIBS-LICENSE".
68 ARRANGEMENTS FOR CONTRIBUTION OF MODIFICATIONS
69 ----------------------------------------------
71 Subject to the terms of the GNU Public License (see above), you are
72 free to do whatever you like with your modifications. However, you may
73 (at your option) wish contribute them to Xara's source tree. You can
74 find details of how to do this at:
75 http://www.xaraxtreme.org/developers/
77 Prior to contributing your modifications, you will need to complete our
78 contributor agreement. This can be found at:
79 http://www.xaraxtreme.org/developers/contribute/
81 Please note that Xara will not accept modifications which modify any of
82 the text between the start and end of this header (marked
83 XARAHEADERSTART and XARAHEADEREND).
86 MARKS
87 -----
89 Xara, Xara LX, Xara X, Xara X/Xtreme, Xara Xtreme, the Xtreme and Xara
90 designs are registered or unregistered trademarks, design-marks, and/or
91 service marks of Xara Group Ltd. All rights in these marks are reserved.
94 Xara Group Ltd, Gaddesden Place, Hemel Hempstead, HP2 6EX, UK.
95 http://www.xara.com/
97 =================================XARAHEADEREND============================
100 #ifndef INC_FTHELPER
101 #define INC_FTHELPER
103 class CCLexFile;
104 struct IFTManipulator; // MIDL helpfully declares everything struct
106 /********************************************************************************************
108 > class FlareTemplateHelper
110 Author: Gerry_Iles (Xara Group Ltd) <camelotdev@xara.com>
111 Created: 09/7/97
112 Purpose: Static function to convert Flare template file to binary Flare format
114 ********************************************************************************************/
117 class FlareTemplateHelper
119 public:
120 static CCLexFile* ConvertFile(CCLexFile* pFile);
122 protected:
123 static void SetHResultError(HRESULT hr);
124 static IFTManipulator* CreateTemplMan(void);
127 #endif // INC_FTHELPER