equal
deleted
inserted
replaced
53 \param entry Subject for the requested command. |
53 \param entry Subject for the requested command. |
54 \param commandName Name of the command to be executed. |
54 \param commandName Name of the command to be executed. |
55 \retval KErrNone on succes, error code otherwise. |
55 \retval KErrNone on succes, error code otherwise. |
56 \sa e32err.h for KErrNone definition. |
56 \sa e32err.h for KErrNone definition. |
57 */ |
57 */ |
58 ErrorCode CaHandlerProxy::execute(const CaEntry &entry, const QString &commandName) |
58 int CaHandlerProxy::execute(const CaEntry &entry, const QString &commandName) |
59 { |
59 { |
60 CaHandler *const handler = getHandler(entry, commandName); |
60 CaHandler *const handler = getHandler(entry, commandName); |
61 ErrorCode result = NotFoundErrorCode; |
61 int result = -1; |
62 |
62 |
63 if (handler) { |
63 if (handler) { |
64 result = CaObjectAdapter::convertErrorCode( |
64 result = handler->execute(entry, commandName); |
65 handler->execute(entry, commandName)); |
|
66 } |
65 } |
67 return result; |
66 return result; |
68 } |
67 } |
69 |
68 |
70 /*! |
69 /*! |