+int vcd_client_widget_set_waiting_for_recording(int pid, bool waiting)
+{
+
+ if (TRUE == waiting && pid != vcd_client_widget_get_foreground_pid()) {
+ SLOG(LOG_ERROR, TAG_VCD, "[Client Data ERROR] pid(%d) is NOT forground pid", pid);
+ return -1;
+ }
+
+ g_is_waiting_recording = waiting;
+ g_waiting_recording_pid = pid;
+ SLOG(LOG_INFO, TAG_VCD, "[INFO] Success to set waiting for recording, pid(%d), waiting(%d)", pid, waiting);
+ return 0;
+}
+
+int vcd_client_widget_get_waiting_for_recording(int pid, bool* waiting)
+{
+ if (pid != g_waiting_recording_pid) {
+ SLOG(LOG_ERROR, TAG_VCD, "[Client Data ERROR] pid(%d) is NOT waiting pid", pid);
+ return -1;
+ }
+
+ *waiting = g_is_waiting_recording;
+ SLOG(LOG_INFO, TAG_VCD, "[INFO] Success to get waiting for recording, waiting(%d)", *waiting);
+ return 0;
+}
+