X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fqlibhomescreen.h;h=876ce38eb46fedec0c2fb311d9d081d560df08cd;hb=503c72aa7024dbbd304bda93a0c9dde38ee9ffd9;hp=11970e2461bdcd90986370dd92949c964da51b4b;hpb=c84b48ed032e85582189ccf45947379a2369cccb;p=src%2Flibqthomescreen.git diff --git a/src/qlibhomescreen.h b/src/qlibhomescreen.h index 11970e2..876ce38 100644 --- a/src/qlibhomescreen.h +++ b/src/qlibhomescreen.h @@ -63,8 +63,9 @@ public: Q_INVOKABLE void hideWindow(QString application_id); Q_INVOKABLE void replyShowWindow(QString application_id, QString reply); Q_INVOKABLE void getRunnables(void); - Q_INVOKABLE void registerShortcut(QString shortcut_id, QString shortcut_name, QString position); - Q_INVOKABLE void updateShortcut(QString shortcut_id, QString shortcut_name); + Q_INVOKABLE int registerShortcut(QString shortcut_id, QString shortcut_name, QString position); + Q_INVOKABLE int updateShortcut(QString application_id, QString shortcut_id, QString shortcut_name); + int updateShortcut(QString application_id, struct json_object* obj); void registerCallback( void (*event_cb)(const std::string& event, struct json_object* event_contents), void (*reply_cb)(struct json_object* reply_contents),