diff -r e4f038c420f7 -r 3ac3aaebaee5 homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp --- a/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp Mon Sep 13 13:03:23 2010 +0300 +++ b/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp Mon Sep 20 10:19:07 2010 +0300 @@ -182,7 +182,7 @@ \param actionName string with action name \retval int error code, 0 if no error */ -int HsMenuService::executeAction(int entryId, const QString &actionName, +int HsMenuService::executeAction(int entryId, const QString &actionName, QObject* receiver, const char* member) { qDebug() << "HsMenuService::executeAction entryId:" << entryId @@ -192,6 +192,22 @@ } /*! + Executes action on an item entry + \param entry of this item + \param actionName string with action name + \retval int error code, 0 if no error + */ +int HsMenuService::executeAction(const CaEntry &entry, + const QString &actionName, QObject* receiver, const char* member) +{ + qDebug() << "HsMenuService::executeAction entryId:" << entry.id() + << "actionName:" << actionName; + return CaService::instance()->executeCommand( + entry, actionName, receiver, member); +} + + +/*! Launch task switcher \retval boolean launching status */