Add new APIs related to application component 11/131611/10 accepted/tizen/unified/20170612.171541 submit/tizen/20170612.120624
authorjongmyeongko <jongmyeong.ko@samsung.com>
Tue, 30 May 2017 07:40:40 +0000 (16:40 +0900)
committerjongmyeongko <jongmyeong.ko@samsung.com>
Fri, 9 Jun 2017 03:52:32 +0000 (12:52 +0900)
commite34bb3889082d6058b6368ba2d73dd68a9c764ab
treeaa446efb1486b0c9105bcd26fa601aaf45528760
parentd7e8fe8aedfae8686217e50b3738495fbd55a44c
Add new APIs related to application component

A getter function and a filter property are added.

// API usage
ret = app_info_create(test_appid, &app_info);
ret = app_info_get_app_component_type(app_info, &component_type);
app_info_destroy(app_info);

// filter usage
app_info_filter_h handle;
ret = app_info_filter_create(&handle);
ret = app_info_filter_add_string(handle, PACKAGE_INFO_PROP_APP_COMPONENT_TYPE, "uiapp");
ret = app_info_filter_foreach_appinfo(handle, appinfo_cb, NULL);
app_info_filter_destroy(handle);

Change-Id: I109912534378364dc244bdec027db5808116b7b6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
include/app_info.h
src/app_info.c