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:
parent
5017edad17
commit
75eeed28e8
|
@ -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);
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Efl.hh>
|
||||
#include <Elementary.hh>
|
||||
|
||||
static char *
|
||||
|
|
|
@ -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>
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue