From: Lauro Moura Date: Tue, 19 Dec 2017 05:18:25 +0000 (+0900) Subject: eolian_cxx: Fix cxx build after evt changes X-Git-Tag: submit/sandbox/upgrade/efl120/20180319.053334~580 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d90fbeaef977bd9315173b9aee2b1f690c9e8fa;p=platform%2Fupstream%2Fefl.git eolian_cxx: Fix cxx build after evt changes Summary: Examples and libeolian_cxx api changes Reviewers: jpeg, felipealmeida Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5673 --- diff --git a/src/examples/elementary/radio_cxx_example_01.cc b/src/examples/elementary/radio_cxx_example_01.cc index 6fb410c..5a3f30c 100644 --- a/src/examples/elementary/radio_cxx_example_01.cc +++ b/src/examples/elementary/radio_cxx_example_01.cc @@ -32,7 +32,7 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED) auto cb_val = std::bind([] (efl::ui::Radio &obj) { std::cout << "val is now: " << obj.value_get() << std::endl; }, std::placeholders::_1); - efl::eolian::event_add(efl::ui::Radio::changed_event, radio, cb_val); + efl::eolian::event_add(efl::ui::Nstate::changed_event, radio, cb_val); efl::ui::Radio radio2(instantiate, win); radio2.text_set("Radio 2"); @@ -43,20 +43,20 @@ efl_main(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED) ic2.icon_set("file"); radio2.content_set(ic2); bx.pack_end(radio2); - efl::eolian::event_add(efl::ui::Radio::changed_event, radio2, cb_val); + efl::eolian::event_add(efl::ui::Nstate::changed_event, radio2, cb_val); efl::ui::Radio radio3(instantiate, win); radio3.text_set("Radio 3"); radio3.state_value_set(3); radio3.group_add(group); bx.pack_end(radio3); - efl::eolian::event_add(efl::ui::Radio::changed_event, radio3, cb_val); + efl::eolian::event_add(efl::ui::Nstate::changed_event, radio3, cb_val); efl::ui::Radio radio4(instantiate, win); radio4.text_set("Radio 4"); radio4.state_value_set(4); radio4.group_add(group); bx.pack_end(radio4); - efl::eolian::event_add(efl::ui::Radio::changed_event, radio4, cb_val); + efl::eolian::event_add(efl::ui::Nstate::changed_event, radio4, cb_val); } EFL_MAIN()