#include "Debug.h"
+#include <string>
#include <assert.h>
#include <iostream>
#include <stdexcept>
#include "w-input-stt-ise.h"
#include "w-input-stt-voice.h"
+using namespace std;
+
extern Evas_Object *g_setting_window;
MoreOption::MoreOption(Evas_Object *naviframe, void* voicedata)
elm_object_part_content_set(more_option_layout, "elm.swallow.content", content);
Elm_Object_Item *nit = NULL;
- nit = elm_naviframe_item_push(nf, NULL, NULL, NULL, more_option_layout, "empty");
+ const char *item_style = NULL;
+ if (_WEARABLE)
+ item_style = "empty";
+ nit = elm_naviframe_item_push(nf, NULL, NULL, NULL, more_option_layout, item_style);
elm_naviframe_item_title_enabled_set(nit, EINA_FALSE, EINA_FALSE);
elm_naviframe_item_pop_cb_set(nit,
PRINTFUNC(DLOG_ERROR, "It's failed to add image.");
}
- std::string res_path;
- char *tmp_path = app_get_resource_path();
- if (tmp_path) {
- res_path = tmp_path;
- free(tmp_path);
- }
+ string res_path = get_resource_path();
+ if (_WEARABLE)
+ res_path = res_path + "wearable/";
+ else if (_TV)
+ res_path = res_path + "tv/";
+ else
+ res_path = res_path + "mobile/";
std::string image_path = res_path + "images/prompt_ic_languages.png";