KDECore
ksycocatype.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KSYCOCATYPE_H
00022 #define KSYCOCATYPE_H
00023
00031 enum KSycocaType { KST_KSycocaEntry = 0, KST_KService = 1, KST_KServiceType = 2, KST_KMimeType = 3,
00032 KST_KFolderMimeType = 4, KST_KDEDesktopMimeType = 5 ,
00033 KST_KServiceGroup = 7, KST_KImageIOFormat = 8, KST_KProtocolInfo = 9,
00034 KST_KServiceSeparator = 10,
00035 KST_KCustom = 1000 };
00036
00044 enum KSycocaFactoryId { KST_KServiceFactory = 1,
00045 KST_KServiceTypeFactory = 2,
00046 KST_KServiceGroupFactory = 3,
00047 KST_KImageIO = 4,
00048 KST_KProtocolInfoFactory = 5,
00049 KST_KMimeTypeFactory = 6,
00050 KST_CTimeInfo = 100 };
00051
00052 #define K_SYCOCAFACTORY( factory_id ) \
00053 public: \
00054 virtual KSycocaFactoryId factoryId() const { return factory_id; } \
00055 private:
00056
00057 #endif