cxx: Rename Elementary.hh into Efl_Ui.hh
Also include Efl_Ui.h alongside Elementary.h (the latter is still needed by some widgets).
This commit is contained in:
parent
fdfb781e22
commit
e38fc2264c
|
@ -0,0 +1 @@
|
|||
cxx_header_src += files(join_paths('..', file_location, 'Efl_Ui.hh'))
|
|
@ -11,7 +11,7 @@ cxx_sublibs = [
|
|||
['Evas', false, true, true, []],
|
||||
['Edje', false, false, true, []],
|
||||
['Eldbus', true, true, true, []],
|
||||
['Elementary', false, true, true, []]
|
||||
['Elementary', true, true, true, []]
|
||||
]
|
||||
|
||||
increased_dependency = []
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define EFL_CXXPERIMENTAL // for background part
|
||||
#define EFL_BETA_API_SUPPORT
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#define EFL_CXXPERIMENTAL
|
||||
#define EFL_BETA_API_SUPPORT
|
||||
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// g++ -g `pkg-config --cflags --libs elementary-cxx efl-cxx eina-cxx eo-cxx ecore-cxx evas-cxx edje-cxx` box_cxx_example_02.cc -o box_cxx_example_02
|
||||
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#define EFL_CXXPERIMENTAL
|
||||
#define EFL_BETA_API_SUPPORT
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
#include <iostream>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#define EFL_CXXPERIMENTAL
|
||||
#define EFL_BETA_API_SUPPORT
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#define EFL_CXXPERIMENTAL
|
||||
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using namespace std::placeholders;
|
||||
using efl::eo::add;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
#warning This example can not be implemented with EO APIs... FIXME
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
#warning This example can not be implemented with EO APIs... FIXME
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
EAPI_MAIN int
|
||||
elm_main (int argc EINA_UNUSED, char **argv EINA_UNUSED)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
#warning This example can not be implemented with EO APIs... FIXME
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include <Evas.hh>
|
||||
#include <Efl_Ui.h>
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
#include <iostream>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#define EFL_CXXPERIMENTAL
|
||||
#define EFL_BETA_API_SUPPORT
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
#include <iostream>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#define EFL_CXXPERIMENTAL
|
||||
#define EFL_BETA_API_SUPPORT
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using namespace std::placeholders;
|
||||
using efl::eo::instantiate;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#define ELM_WIDGET_PROTECTED
|
||||
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
#include <iostream>
|
||||
|
||||
#warning FIXME: This example requires proper EO API usage (not legacy spinner)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// g++ -g `pkg-config --cflags --libs elementary-cxx efl-cxx eina-cxx eo-cxx ecore-cxx evas-cxx edje-cxx` table_cxx_example_01.cc -o table_cxx_example_01
|
||||
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// g++ -g `pkg-config --cflags --libs elementary-cxx efl-cxx eina-cxx eo-cxx ecore-cxx evas-cxx edje-cxx` table_cxx_example_01.cc -o table_cxx_example_01
|
||||
|
||||
#include <Evas.hh>
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
using efl::eo::instantiate;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
#warning This example requires yet unfinished EO APIs
|
||||
|
||||
#define EFL_BETA_API_SUPPORT
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
EAPI int
|
||||
elm_main(int argc, char* argv[])
|
||||
|
|
|
@ -14,7 +14,9 @@
|
|||
#include <Efl.hh>
|
||||
|
||||
extern "C" {
|
||||
// Some Elm_* classes are built and require the old header.
|
||||
#include "Elementary.h"
|
||||
#include "Efl_Ui.h"
|
||||
}
|
||||
|
||||
#include <Edje.hh>
|
|
@ -4,7 +4,7 @@
|
|||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.hh>
|
||||
#include <Efl_Ui.hh>
|
||||
|
||||
#include <iostream>
|
||||
|
||||
|
|
Loading…
Reference in New Issue