evasobject: make it strictly evas dependent (no ecore,elm)
authorU. Artie Eoff <ullysses.a.eoff@intel.com>
Thu, 11 Oct 2012 19:22:59 +0000 (12:22 -0700)
committerU. Artie Eoff <ullysses.a.eoff@intel.com>
Thu, 11 Oct 2012 19:32:17 +0000 (12:32 -0700)
Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com>
src/efl/evasobject.cpp
src/efl/evasobject.h

index 81837d7..46fc92b 100644 (file)
@@ -1,7 +1,7 @@
-#include <Ecore_Evas.h>
+#include <Evas.h>
 
 #include "evasobject.h"
-#include "application.h"
+#include "common/test.h"
 
 EvasObject::EvasObject(Evas_Object* o)
        : obj_(o)
@@ -18,17 +18,11 @@ EvasObject::~EvasObject()
        obj_ = NULL;
 }
 
-//FIXME: see header
 // EvasObject::operator Evas*()
 // {
 //     return evas_object_evas_get(*this);
 // }
 
-// EvasObject::operator Ecore_Evas*()
-// {
-//     return ecore_evas_object_ecore_evas_get(*this);
-// }
-
 EvasObject::operator Evas_Object*()
 {
        return obj_;
index 88cbf0e..1cf10dd 100644 (file)
@@ -19,11 +19,7 @@ public:
        const int getY();
        const Eina_Bool isVisible();
 
-       //FIXME: these compiled fine before... but for some reason they are flagged
-       // as ambiguous by the compiler now... this started happending when
-       // EO was added as dependency to Evas.
 //     operator Evas*();
-//     operator Ecore_Evas*();
        
        operator Evas_Object*();