diff options
Diffstat (limited to 'src/ug.c')
-rwxr-xr-x | src/ug.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -281,3 +281,13 @@ UG_API int ug_disable_effect(ui_gadget_h ug) return 0; } + +UG_API int ug_is_installed(const char *name) +{ + if(name == NULL){ + _ERR("name is null"); + return -1; + } + + return ug_exist(name); +} |