Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/plugins


Modified Files:
        Makefile.am ewl_io_manager_text_plugin.c 
Added Files:
        ewl_io_manager_image_plugin.c 


Log Message:
- add an io image plugin
- yes i know the extenstion to mime type is a hack. it'll get fixed later
- the io manager test can now do text or png/jpg (without having to change
  the test code

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/plugins/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- Makefile.am 14 Sep 2006 14:33:53 -0000      1.2
+++ Makefile.am 14 Sep 2006 15:10:24 -0000      1.3
@@ -12,7 +12,8 @@
 
 pkgdir                  = $(libdir)/ewl/plugins
 
-pkg_LTLIBRARIES                = ewl_io_manager_text_plugin.la
+pkg_LTLIBRARIES                = ewl_io_manager_text_plugin.la \
+ewl_io_manager_image_plugin.la
 
 ewl_io_manager_text_plugin_la_SOURCES   = ewl_io_manager_text_plugin.c
 ewl_io_manager_text_plugin_la_LIBADD    = $(top_builddir)/src/lib/libewl.la
@@ -20,4 +21,11 @@
                          -L$(top_builddir)/src/lib \
                          -L$(top_builddir)/src/lib/.libs
 ewl_io_manager_text_plugin_la_DEPENDENCIES = 
+
+ewl_io_manager_image_plugin_la_SOURCES   = ewl_io_manager_image_plugin.c
+ewl_io_manager_image_plugin_la_LIBADD    = $(top_builddir)/src/lib/libewl.la
+ewl_io_manager_image_plugin_la_LDFLAGS = -module -avoid-version \
+                         -L$(top_builddir)/src/lib \
+                         -L$(top_builddir)/src/lib/.libs
+ewl_io_manager_image_plugin_la_DEPENDENCIES = 
 
===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/plugins/ewl_io_manager_text_plugin.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- ewl_io_manager_text_plugin.c        14 Sep 2006 14:33:53 -0000      1.1
+++ ewl_io_manager_text_plugin.c        14 Sep 2006 15:10:24 -0000      1.2
@@ -55,7 +55,7 @@
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR_RET("data", data, FALSE);
        DCHECK_PARAM_PTR_RET("uri", uri, FALSE);
-       DCHECK_TYPE_RET("data", data, EWL_WIDGET_TYPE, FALSE);
+       DCHECK_TYPE_RET("data", data, EWL_TEXT_TYPE, FALSE);
 
        file = fopen(uri, "w");
        if (file)
@@ -79,7 +79,7 @@
 {
        DENTER_FUNCTION(DLEVEL_STABLE);
        DCHECK_PARAM_PTR_RET("data", data, FALSE);
-       DCHECK_TYPE_RET("data", data, EWL_WIDGET_TYPE, FALSE);
+       DCHECK_TYPE_RET("data", data, EWL_TEXT_TYPE, FALSE);
 
        *string = ewl_text_text_get(EWL_TEXT(data));
 



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to