summaryrefslogtreecommitdiffstats
path: root/src/qlibhomescreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qlibhomescreen.cpp')
-rw-r--r--src/qlibhomescreen.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/qlibhomescreen.cpp b/src/qlibhomescreen.cpp
index b2f6751..13093c3 100644
--- a/src/qlibhomescreen.cpp
+++ b/src/qlibhomescreen.cpp
@@ -164,3 +164,19 @@ void QLibHomeScreen::set_event_handler(enum QEventType et, handler_fun f)
LibHomeScreen::EventType hs_et = (LibHomeScreen::EventType)et;
return this->mp_hs->set_event_handler(hs_et, std::move(f));
}
+
+/**
+ * tapShortcut function
+ *
+ * #### Parameters
+ * - application_name : tapped application name
+ *
+ * #### Return
+ * - None.
+ *
+ */
+void QLibHomeScreen::tapShortcut(QString application_name)
+{
+ HMI_DEBUG("qlibhomescreen","tapShortcut %s", application_name.toStdString().c_str());
+ this->mp_hs->tapShortcut(application_name.toStdString().c_str());
+} \ No newline at end of file