return m_history_layout;
}
-Evas_Object* HistoryUI::createHistoryUILayout(Evas_Object* parent)
+void HistoryUI::createHistoryUILayout(Evas_Object* parent)
{
BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
elm_theme_extension_add(nullptr, m_edjFilePath.c_str());
_history_item_data.clear();
}
-void HistoryUI::_history_item_clicked_cb(void *data, Evas_Object *obj, void *event_info)
+void HistoryUI::_history_item_clicked_cb(void *data, Evas_Object*, void*)
{
BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
- HistoryItemData * itemData = reinterpret_cast<HistoryItemData *>(data);
+ HistoryItemData * itemData = static_cast<HistoryItemData *>(data);
itemData->historyUI->historyItemClicked(itemData->item);
}
boost::signals2::signal<void (std::shared_ptr<tizen_browser::services::HistoryItem>)> historyDeleteClicked;
private:
void clearItems();
- Evas_Object* createHistoryUILayout(Evas_Object* parent);
+ void createHistoryUILayout(Evas_Object* parent);
Elm_Gengrid_Item_Class* crateItemClass();
static char* _grid_text_get(void *data, Evas_Object *obj, const char *part);
static Evas_Object * _history_grid_content_get(void *data, Evas_Object *obj, const char *part);