--- a/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp Fri Sep 17 08:27:54 2010 +0300
+++ b/homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp Mon Oct 04 00:07:25 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
*/