73 { |
73 { |
74 enum ServiceIPCErrors |
74 enum ServiceIPCErrors |
75 { |
75 { |
76 ENoError=0, |
76 ENoError=0, |
77 EConnectionError = QtService::IPC_ERR_START_VALUE , /*!< Error in IPC Connection */ |
77 EConnectionError = QtService::IPC_ERR_START_VALUE , /*!< Error in IPC Connection */ |
78 EConnectionClosed, /*!< IPC Connection is closed */ |
78 EConnectionClosed, /*!< IPC Connection is closed */ |
79 EServerNotFound, /*!< Can not find server */ |
79 EServerNotFound, /*!< Can not find server */ |
80 EIPCError, /*!< Known IPC error */ |
80 EIPCError, /*!< Known IPC error */ |
81 EUnknownError, /*!< Unknown IPC error */ |
81 EUnknownError, /*!< Unknown IPC error */ |
82 ERequestPending, /*!< Already pending request */ |
82 ERequestPending, /*!< Already pending request */ |
83 EMessageNotFound, /*!< Message slot not found */ |
83 EMessageNotFound, /*!< Message slot not found */ |
84 EArgumentError /*!< Argument error */ |
84 EArgumentError /*!< Argument error */ |
85 }; |
85 }; |
86 |
86 |
87 enum ServiceMetadataErrors |
87 enum ServiceMetadataErrors |
88 { |
88 { |
89 EMetaNoService = QtService::METADATA_ERR_START_VALUE, /* Can not find service root node in XML file*/ |
89 EMetaNoService = QtService::METADATA_ERR_START_VALUE, /*!< Can not find service root node in XML file */ |
90 EMetaNoServiceName, /* Can not find service name in XML file */ |
90 EMetaNoServiceName, /*!< Can not find service name in XML file */ |
91 EMetaNoServiceFilepath, /* Can not find service filepath in XML file */ |
91 EMetaNoServiceFilepath, /*!< Can not find service filepath in XML file */ |
92 EMetaNoServiceInterface, /* No interface for the service in XML file*/ |
92 EMetaNoServiceInterface, /*!< No interface for the service in XML file */ |
93 EMetaNoInterfaceVersion, /* Can not find interface version in XML file */ |
93 EMetaNoInterfaceVersion, /*!< Can not find interface version in XML file */ |
94 EMetaNoInterfaceName, /* Can not find interface name in XML file*/ |
94 EMetaNoInterfaceName, /*!< Can not find interface name in XML file */ |
95 EMetaUnableToOpenFile, /* Error opening XML file*/ |
95 EMetaUnableToOpenFile, /*!< Error opening XML file */ |
96 EMetaInvalidXmlFile, /* Not a valid XML file*/ |
96 EMetaInvalidXmlFile, /*!< Not a valid XML file */ |
97 EMetaParseService, /* Error parsing service node */ |
97 EMetaParseService, /*!< Error parsing service node */ |
98 EMetaParseInterface, /* Error parsing interface node */ |
98 EMetaParseInterface, /*!< Error parsing interface node */ |
99 EMetaDuplicatedInterface, /* The same interface is defined twice */ |
99 EMetaDuplicatedInterface, /*!< The same interface is defined twice */ |
100 EMetaInvalidVersion, |
100 EMetaInvalidVersion, |
101 EMetaDuplicatedTag, /* The tag appears twice */ |
101 EMetaDuplicatedTag, /*!< The tag appears twice */ |
102 EMetaInvalidCustomTag, /* The customproperty tag is not corectly formatted or otherwise incorrect*/ |
102 EMetaInvalidCustomTag, /*!< The customproperty tag is not corectly formatted or otherwise incorrect */ |
103 EMetaDuplicatedCustomKey /* The customproperty appears twice*/ |
103 EMetaDuplicatedCustomKey /*!< The customproperty appears twice */ |
104 }; |
104 }; |
105 |
105 |
106 enum ServiceManagerErrors |
106 enum ServiceManagerErrors |
107 { |
107 { |
108 EMgrInternalError = QtService::RESOLVER_ERR_START_VALUE /* Internal error */ |
108 EMgrInternalError = QtService::RESOLVER_ERR_START_VALUE /* Internal error */ |