+static bool __is_exist_in_candidates(const string &text, const vector<string> &candidates)
+{
+ for (auto &candidate : candidates) {
+ if (0 == text.compare(candidate)) {
+ return true;
+ }
+ }
+
+ return false;
+}
+
+static void __refresh_screen_inform_event_free(void *data EINA_UNUSED, void *event)
+{
+ mmi_event_refresh_screen_inform *ev = (mmi_event_refresh_screen_inform *)event;
+ free(ev);
+}
+
+static void __invoke_event_for_refreshing_window()
+{
+ mmi_event_refresh_screen_inform *ev = (mmi_event_refresh_screen_inform *)calloc(1, sizeof(mmi_event_refresh_screen_inform));
+ if (ev == NULL) {
+ LOGE("mmi_event_refresh_screen_inform malloc failed");
+ return;
+ }
+
+ ev->seconds = 2.0;
+ ecore_event_add(MMI_EVENT_REFRESH_SCREEN_INFORM, ev, __refresh_screen_inform_event_free, nullptr);
+}
+