1 | /* |
2 | * This file is part of KFileMetaData |
3 | * Copyright (C) 2014 Vishesh Handa <me@vhanda.in> |
4 | * |
5 | * This library is free software; you can redistribute it and/or |
6 | * modify it under the terms of the GNU Lesser General Public |
7 | * License as published by the Free Software Foundation; either |
8 | * version 2.1 of the License, or (at your option) any later version. |
9 | * |
10 | * This library is distributed in the hope that it will be useful, |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 | * Lesser General Public License for more details. |
14 | * |
15 | * You should have received a copy of the GNU Lesser General Public |
16 | * License along with this library; if not, write to the Free Software |
17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
18 | * |
19 | */ |
20 | |
21 | #ifndef KFILEMETADATA_TYPES |
22 | #define KFILEMETADATA_TYPES |
23 | |
24 | namespace KFileMetaData { |
25 | namespace Type { |
26 | |
27 | enum Type { |
28 | FirstType = 0, |
29 | |
30 | /** |
31 | * Any file which contains a compressed collection of other files |
32 | * eg - tar, zip, rar, gz |
33 | */ |
34 | Archive = 0, |
35 | |
36 | /** |
37 | * Used to mark any file which just contains audio. Do not use this |
38 | * type if the file also contains Video |
39 | */ |
40 | Audio, |
41 | |
42 | /** |
43 | * Any file which contains Video. It may also contain Audio |
44 | */ |
45 | Video, |
46 | |
47 | /** |
48 | * Any Image file. This includes both raster and vector formats. |
49 | */ |
50 | Image, |
51 | |
52 | /** |
53 | * Any file which counts as a document. Documents are generally |
54 | * files which contain rich text, formatting and maybe images |
55 | */ |
56 | Document, |
57 | |
58 | /** |
59 | * A SpreadSheet file. This is a specialization of the Document type |
60 | * Any file which has this type should also have the Document type |
61 | */ |
62 | Spreadsheet, |
63 | |
64 | /** |
65 | * A Presentation file. This is a specialization of the Document type. |
66 | * Any file which has this type should also have the Document type |
67 | */ |
68 | Presentation, |
69 | |
70 | /** |
71 | * Any file which just contains plain text data counts |
72 | * as a Text file |
73 | */ |
74 | Text, |
75 | |
76 | LastType = Text |
77 | }; |
78 | |
79 | } |
80 | } |
81 | |
82 | #endif |
83 | |