Debian Codegraph @

src/sycoca/ksycocatype.h

raw symbols SCIP
1 /*
2 This file is part of the KDE project
3 SPDX-FileCopyrightText: 1998, 1999 Torben Weis <[email protected]>
4 SPDX-FileCopyrightText: 1998, 1999 Waldo Bastian <[email protected]>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7 */
8
9 #ifndef KSYCOCATYPE_H
10 #define KSYCOCATYPE_Hcxx . . $ `src/sycoca/ksycocatype.h:10:9`!
11
12 /*
13 * A KSycocaType is a code (out of the KSycocaType enum) assigned to each
14 * class type derived from KSycocaEntry .
15 * To use it, call the macro K_SYCOCATYPE( your_typecode, parent_class )
16 * at the top of your class definition.
17 */
18 enum KSycocaTypecxx . . $ KSycocaType# {
19 KST_KSycocaEntrycxx . . $ KST_KSycocaEntry. = 0,
20 KST_KServicecxx . . $ KST_KService. = 1,
21 KST_KServiceTypecxx . . $ KST_KServiceType. = 2,
22 KST_KMimeTypecxx . . $ KST_KMimeType. = 3,
23 KST_KMimeTypeEntrycxx . . $ KST_KMimeTypeEntry. = 6 /*internal*/,
24 KST_KServiceGroupcxx . . $ KST_KServiceGroup. = 7,
25 // 8 was KST_KImageIOFormat in kdelibs4
26 // 9 was KST_KProtocolInfo in kdelibs4
27 KST_KServiceSeparatorcxx . . $ KST_KServiceSeparator. = 10,
28 KST_KCustomcxx . . $ KST_KCustom. = 1000,
29 };
30
31 /*
32 * A KSycocaFactoryId is a code (out of the KSycocaFactoryId enum)
33 * assigned to each class type derived from KSycocaFactory.
34 * To use it, call the macro K_SYCOCAFACTORY( your_factory_id )
35 * at the top of your class definition.
36 */
37 enum KSycocaFactoryIdcxx . . $ KSycocaFactoryId# {
38 KST_KServiceFactorycxx . . $ KST_KServiceFactory. = 1,
39 KST_KServiceTypeFactorycxx . . $ KST_KServiceTypeFactory. = 2,
40 KST_KServiceGroupFactorycxx . . $ KST_KServiceGroupFactory. = 3,
41 // 4 was KST_KImageIO in kdelibs4
42 // 5 was KST_KProtocolInfoFactory in kdelibs4
43 KST_KMimeTypeFactorycxx . . $ KST_KMimeTypeFactory. = 6,
44 KST_CTimeInfocxx . . $ KST_CTimeInfo. = 100,
45 };
46
47 #define K_SYCOCAFACTORYcxx . . $ `src/sycoca/ksycocatype.h:47:9`!(factory_id) \
48 public: \
49 KSycocaFactoryId factoryId() const override \
50 { \
51 return factory_id; \
52 } \
53 \
54 private:
55
56 #endif