Oops ! :)

On Wed, Mar 5, 2008 at 4:47 AM, The Rasterman Carsten Haitzler
<[EMAIL PROTECTED]> wrote:
> On Wed, 27 Feb 2008 14:16:10 +0100 "Cedric BAIL" <[EMAIL PROTECTED]> babbled:
>  > This patch give the possibilite to suspend the execution of a timer
>  > for as long as you want. Freezing a timer, remove it from the main
>  > active timer list and push it on the suspended list waiting to be
>  > thaw. The code is fairly simple, and remove the need to handle this in
>  > the application.
>
>  looks like it should work and not break... except your patch doesnt include
>  changes to ecore_private.h too - like adding pending and frozen members to 
> the
>  timer struct :)

-- 
Cedric BAIL
diff --git a/src/lib/ecore/ecore_private.h b/src/lib/ecore/ecore_private.h
index e7d6970..169274b 100644
--- a/src/lib/ecore/ecore_private.h
+++ b/src/lib/ecore/ecore_private.h
@@ -281,14 +281,16 @@ struct _Ecore_Exe
 
 struct _Ecore_Timer
 {
-   Ecore_List2   __list_data;
+   Ecore_List2		__list_data;
    ECORE_MAGIC;
-   double       in;
-   double       at;
-   signed char  delete_me : 1;
-   signed char  just_added : 1;
-   int        (*func) (void *data);
-   void        *data;
+   double		in;
+   double		at;
+   double		pending;
+   unsigned char	delete_me : 1;
+   unsigned char	just_added : 1;
+   unsigned char	frozen : 1;
+   int			(*func) (void *data);
+   void			*data;
 };
 
 struct _Ecore_Idler
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to