KFileMetaData

types.h
1 /*
2  This file is part of KFileMetaData
3  SPDX-FileCopyrightText: 2014 Vishesh Handa <[email protected]>
4 
5  SPDX-License-Identifier: LGPL-2.1-or-later
6 */
7 
8 #ifndef KFILEMETADATA_TYPES
9 #define KFILEMETADATA_TYPES
10 
11 namespace KFileMetaData {
12 namespace Type {
13 
14 /**
15  * A Type represents a way to represent a way to group files based on
16  * a higher level view, which the user generally expects.
17  *
18  * Every extractor provides a list of types applicable for each file.
19  */
20 enum Type {
21  FirstType = 0,
22  Empty = 0,
23 
24  /**
25  * Any file which contains a compressed collection of other files
26  * eg - tar, zip, rar, gz
27  */
28  Archive,
29 
30  /**
31  * Used to mark any file which just contains audio. Do not use this
32  * type if the file also contains Video
33  */
34  Audio,
35 
36  /**
37  * Any file which contains Video. It may also contain Audio
38  */
39  Video,
40 
41  /**
42  * Any Image file. This includes both raster and vector formats.
43  */
44  Image,
45 
46  /**
47  * Any file which counts as a document. Documents are generally
48  * files which contain rich text, formatting and maybe images
49  */
50  Document,
51 
52  /**
53  * A SpreadSheet file. This is a specialization of the Document type
54  * Any file which has this type should also have the Document type
55  */
56  Spreadsheet,
57 
58  /**
59  * A Presentation file. This is a specialization of the Document type.
60  * Any file which has this type should also have the Document type
61  */
62  Presentation,
63 
64  /**
65  * Any file which just contains plain text data counts
66  * as a Text file
67  */
68  Text,
69 
70  /**
71  * A directory or folder
72  */
73  Folder,
74 
75  LastType = Folder
76 };
77 
78 }
79 }
80 
81 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri May 27 2022 03:47:54 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.