stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=2032e7d787a19fff9688040a0713ca3e8ad15fda

commit 2032e7d787a19fff9688040a0713ca3e8ad15fda
Author: Felipe Magno de Almeida <fel...@expertisesolutions.com.br>
Date:   Thu Aug 23 02:47:47 2018 +0000

    eolian-cxx: Remove test that can't be implemented
    
    The feature required by this test was removed. When the feature is
    reincluded with newer syntax the test will be rewritten and readded.
    Differential Revision: https://phab.enlightenment.org/D6897
---
 src/examples/eolian_cxx/eolian_cxx_inherit_01.cc | 89 ------------------------
 1 file changed, 89 deletions(-)

diff --git a/src/examples/eolian_cxx/eolian_cxx_inherit_01.cc 
b/src/examples/eolian_cxx/eolian_cxx_inherit_01.cc
deleted file mode 100644
index 5cd6b20596..0000000000
--- a/src/examples/eolian_cxx/eolian_cxx_inherit_01.cc
+++ /dev/null
@@ -1,89 +0,0 @@
-
-#include <iostream>
-#include <cassert>
-
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
-
-#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>
-
-using namespace efl;
-
-struct ColourableCircle
-  : efl::eo::inherit<ColourableCircle, ::ns::Colourable>
-{
-   ColourableCircle(int rgb)
-     : inherit_base(::ns::Colourable::rgb_24bits_constructor(rgb))
-   {}
-
-   int colour_get()
-   {
-      int rgb = 0;
-      rgb = ::ns_colourable_colour_get(eo_super(_eo_ptr(), _eo_class()));
-      std::cout << "ColourableCircle::colour_get(" << this << ") ==> "
-                << std::hex << rgb << std::endl;
-      return rgb;
-   }
-};
-
-/*
-struct ColourableFoo
-  : efl::eo::inherit<ColourableFoo,
-                     ::colourable,
-                     ::colourablesquare>
-{
-   ColourableFoo(int size, int rgb)
-     : inherit_base(efl::eo::args<::colourable>(size)
-                  , efl::eo::args<::colourablesquare>(rgb))
-   {}
-};*/
-
-struct ColourableBar
-  : efl::eo::inherit<ColourableBar, ::ns::ColourableSquare>
-{
-   ColourableBar()
-     : inherit_base(::ns::Colourable::rgb_24bits_constructor(0))
-   {}
-
-   int colour_get()
-   {
-      int rgb = 0;
-      rgb = ::ns_colourable_colour_get(eo_super(_eo_ptr(), _eo_class()));
-      std::cout << "ColourableBar::colour_get(" << this << ") ==> "
-                << std::hex << rgb << std::endl;
-      return rgb;
-   }
-
-};
-
-int
-main()
-{
-   efl::eo::eo_init init;
-   eina_log_domain_level_set("colourable", EINA_LOG_LEVEL_DBG);
-
-   ColourableCircle obj1(0x0);
-   obj1.composite_colour_set(0xc0, 0xff, 0xee);
-
-   ColourableCircle obj2(0xc0ffee);
-   int r, g, b;
-   obj2.composite_colour_get(&r, &g, &b);
-
-
-   ColourableBar obj3;
-   obj3.composite_colour_get(&r, &g, &b);
-
-   assert(r == 0xc0);
-   assert(g == 0xff);
-   assert(b == 0xee);
-
-   assert(obj1.colour_get() == obj2.colour_get());
-
-   return 0;
-}

-- 


Reply via email to