cxx: Modify how to generate C++ headers and allow cyclic dependencies

Allow cyclic dependencies in generated C++ headers by changing order
of includes and creating forward declarations.
This commit is contained in:
Felipe Magno de Almeida 2017-01-18 22:25:02 -02:00
parent 5017edad17
commit 75eeed28e8
5 changed files with 8 additions and 1 deletions

View File

@ -24,7 +24,7 @@ elm_main (int argc, char *argv[])
win.autohide_set(true);
::elm::Button btn(win);
btn.eo_cxx::efl::Text::text_set("Good-Bye, World!");
btn.eo_cxx::elm::Layout::text_set(nullptr,"Good-Bye, World!");
btn.eo_cxx::efl::Gfx::size_set(120, 30);
btn.eo_cxx::efl::Gfx::position_set(60, 15);
btn.visible_set(true);

View File

@ -3,6 +3,7 @@
#include "elementary_config.h"
#endif
#include <Efl.hh>
#include <Elementary.hh>
static char *

View File

@ -8,6 +8,8 @@
#include "ns_colourable.eo.hh"
#include "ns_colourablesquare.eo.hh"
#include "ns_colourable.eo.impl.hh"
#include "ns_colourablesquare.eo.impl.hh"
#include <eo_inherit.hh>

View File

@ -9,6 +9,8 @@
#include "ns_colourable.eo.hh"
#include "ns_colourablesquare.eo.hh"
#include "ns_colourable.eo.impl.hh"
#include "ns_colourablesquare.eo.impl.hh"
int
main()

View File

@ -9,6 +9,8 @@
#include "colourable.eo.hh"
#include "colourablesquare.eo.hh"
#include "ns_colourable.eo.impl.hh"
#include "ns_colourablesquare.eo.impl.hh"
int
main()