Pencil2D  ff90c0872e88be3bf81c548cd60f01983012ec49
Pencil2D is an animation software for both bitmap and vector graphics. It is free, multi-platform, and open source.
 All Classes Functions
fileformat.h
1 /*
2 
3 Pencil - Traditional Animation Software
4 Copyright (C) 2005-2007 Patrick Corrieri & Pascal Naidon
5 Copyright (C) 2012-2017 Matthew Chiawen Chang
6 
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; version 2 of the License.
10 
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15 
16 */
17 #ifndef PENCIL_FILE_FORMAT_H
18 #define PENCIL_FILE_FORMAT_H
19 
20 #include <QString>
21 
22 //Pencil File Format
23 //PFF - acronym for "Pencil File Format"
24 #define PFF_OLD_EXTENSION ".pcl"
25 #define PFF_OLD_BIG_LETTER_EXTENSION "PCL"
26 #define PFF_EXTENSION ".pclx"
27 #define PFF_BIG_LETTER_EXTENSION "PCLX"
28 
29 #define PFF_OPEN_ALL_FILE_FILTER QObject::tr( "All Pencil Files PCLX & PCL(*.pclx *.pcl);;Pencil Animation File PCLX(*.pclx);;Old Pencil Animation File PCL(*.pcl);;Any files (*)" )
30 #define PFF_SAVE_ALL_FILE_FILTER QObject::tr( "Pencil Animation File PCLX(*.pclx);;Old Pencil Animation File PCL(*.pcl)" )
31 
32 
33 #define PFF_OLD_DATA_DIR "data"
34 #define PFF_DATA_DIR "data"
35 #define PFF_XML_FILE_NAME "main.xml"
36 #define PFF_TMP_COMPRESS_EXT ".Y2xC"
37 #define PFF_TMP_DECOMPRESS_EXT ".Y2xD"
38 #define PFF_PALETTE_FILE "palette.xml"
39 
40 
41 bool removePFFTmpDirectory (const QString& dirName);
42 
43 
44 #endif