homescreenapp/serviceproviders/hsmenuserviceprovider/src/hsmenuservice.cpp
changeset 90 3ac3aaebaee5
parent 86 e4f038c420f7
child 97 66b5fe3c07fd
--- 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
  */