if (NULL == handle || NULL == app_id)
return MA_ERROR_INVALID_PARAMETER;
assistant_info_t* info = (assistant_info_t*)handle;
- if (NULL == info->app_id)
- return MA_ERROR_NOT_SUPPORTED;
*app_id = (char*)info->app_id;
return MA_ERROR_NONE;
}
if (NULL == handle || NULL == status)
return MA_ERROR_INVALID_PARAMETER;
assistant_info_t* info = (assistant_info_t*)handle;
- if (NULL == info->app_id)
- return MA_ERROR_NOT_SUPPORTED;
*status = __get_assistant_enable_status(info->app_id, vconf_get_str(APPID_URL));
return MA_ERROR_NONE;
}
if (NULL == handle || NULL == name)
return MA_ERROR_INVALID_PARAMETER;
assistant_info_t* info = (assistant_info_t*)handle;
- if (NULL == info->name)
- return MA_ERROR_NOT_SUPPORTED;
*name = (char*)info->name;
return MA_ERROR_NONE;
}
\ No newline at end of file