jpeg pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5d6a5343b7949daf2bdb5c24af8f7dac66519386

commit 5d6a5343b7949daf2bdb5c24af8f7dac66519386
Author: Jean-Philippe Andre <jp.an...@samsung.com>
Date:   Tue Nov 28 15:39:39 2017 +0900

    cxx: Include definition header in impl header
    
    Good for IDE's. Not extremely useful considering how unreadable those
    files are.
---
 src/lib/eolian_cxx/grammar/class_implementation.hpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/eolian_cxx/grammar/class_implementation.hpp 
b/src/lib/eolian_cxx/grammar/class_implementation.hpp
index 60eb075073..615ee6022e 100644
--- a/src/lib/eolian_cxx/grammar/class_implementation.hpp
+++ b/src/lib/eolian_cxx/grammar/class_implementation.hpp
@@ -38,6 +38,10 @@ struct class_implementation_generator
         .generate(sink, std::make_tuple(), ctx))
        return false;
 
+     if(!as_generator("\n#include \"" << *(string << "_") << string << 
".eo.hh\"\n\n")
+        .generate(sink, std::make_tuple(cls.namespaces, cls.cxx_name), 
add_lower_case_context(ctx)))
+       return false;
+
 #ifndef USE_EOCXX_INHERIT_ONLY
      if(!as_generator(
         (namespaces

-- 


Reply via email to