int vc_widget_set_result_cb(vc_h vc_w, vc_result_cb callback, void* user_data)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
if (NULL == callback)
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_result_cb(vc_h vc_w)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_set_show_tooltip_cb(vc_h vc_w, vc_widget_show_tooltip_cb callback, void* user_data)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
if (NULL == callback)
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_show_tooltip_cb(vc_h vc_w)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_set_send_current_command_list_cb(vc_h vc_w, vc_widget_send_current_command_list_cb callback, void* user_data)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_unset_send_current_command_list_cb(vc_h vc_w)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_set_service_state_changed_cb(vc_h vc_w, vc_service_state_changed_cb callback, void* user_data)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_unset_service_state_changed_cb(vc_h vc_w)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_set_state_changed_cb(vc_h vc_w, vc_state_changed_cb callback, void* user_data)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
if (NULL == callback)
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_state_changed_cb(vc_h vc_w)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_set_asr_result_cb(vc_h vc_w, vc_asr_result_cb callback, void* user_data)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
if (NULL == callback)
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_asr_result_cb(vc_h vc_w)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_set_current_language_changed_cb(vc_h vc_w, vc_current_language_changed_cb callback, void* user_data)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
if (NULL == callback)
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_current_language_changed_cb(vc_h vc_w)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {
int vc_widget_set_error_cb(vc_h vc_w, vc_error_cb callback, void* user_data)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
if (NULL == callback)
return VC_ERROR_INVALID_PARAMETER;
int vc_widget_unset_error_cb(vc_h vc_w)
{
+ if (NULL == vc_w) {
+ SLOG(LOG_ERROR, TAG_VCW, "[ERROR] Input parameter is NULL");
+ return VC_ERROR_INVALID_PARAMETER;
+ }
+
SLOG(LOG_DEBUG, TAG_VCW, "[CHECK] uid (%d)", vc_w->handle);
vc_state_e state;
if (0 != vc_widget_client_get_state(vc_w, &state)) {