Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/ecore

Dir     : e17/libs/ecore/src/bin


Modified Files:
      Tag: SPLIT
        Makefile.am ecore_test.c 


Log Message:


ecore_job library in... a saparate library.. small... but handy :)

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/Attic/Makefile.am,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -3 -r1.1.2.1 -r1.1.2.2
--- Makefile.am 16 Jan 2003 08:48:51 -0000      1.1.2.1
+++ Makefile.am 16 Jan 2003 10:30:30 -0000      1.1.2.2
@@ -1,6 +1,9 @@
 ## Process this file with automake to produce Makefile.in
 
-INCLUDES = @x_cflags@ -I../lib/ecore
+INCLUDES = \
+@x_cflags@ \
+-I../lib/ecore \
+-I../lib/ecore_job
 
 bin_PROGRAMS = \
 ecore_test
@@ -9,15 +12,18 @@
 ecore_test.c
 
 ecore_test_LDADD = \
+@x_ldflags@ @x_libs@ \
 ../lib/ecore/libecore.la \
--static
+../lib/ecore_job/libecore_job.la
 
 ecore_test_LDFLAGS = \
-$(LDFLAGS)
+$(LDFLAGS) \
+-static
 
 ecore_test_CFLAGS = \
 $(CFLAGS) \
 $(INCLUDES)
 
 ecore_test_DEPENDENCIES = \
-../lib/ecore/libecore.la
+../lib/ecore/libecore.la \
+../lib/ecore_job/libecore_job.la
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/src/bin/Attic/ecore_test.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -3 -r1.1.2.1 -r1.1.2.2
--- ecore_test.c        16 Jan 2003 08:48:51 -0000      1.1.2.1
+++ ecore_test.c        16 Jan 2003 10:30:30 -0000      1.1.2.2
@@ -1,4 +1,5 @@
 #include "Ecore.h"
+#include "Ecore_Job.h"
 
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
@@ -8,6 +9,12 @@
 
 double start_time = 0;
 
+void
+job_call(void *data)
+{
+   printf("Job done!\n");
+}
+
 int
 idle_enterer(void *data)
 {
@@ -26,6 +33,7 @@
 timer(void *data)
 {
    printf("Timer tick %3.8f\n", ecore_time_get() - start_time);
+   ecore_job_add(job_call, NULL);
    return 1;
 }
 




-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache 
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to