URL:
  <http://gna.org/patch/?1495>

                 Summary: Update queue module
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: dimanche 28.02.2010 à 16:52
                Category: client
                Priority: 3 - Low
                  Status: Ready For Test
                 Privacy: Public
             Assigned to: pepeto
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.3.0

    _______________________________________________________

Details:

The update queue module grant tools to make updates behind an idle callback.
This would help to avoid to make lot of action duplicates, like the update of
the GUI. For example, it would transform all calls to menus_update() into
one.

I already merged with some of my former changes: menus_init(),
menus_update(), set_client_page(), get_client_page.

The interface grants 4 important functions:
* update_queue_add(): Add a function to be called when the client have time.
* update_queue_has_callback(): Allow to know if a function is going to be
call.
* update_queue_connect_processing_started(): Add a function to be called when
the server will begin to process the given request.
* update_queue_connect_processing_finished(): Add a function to be called
when the server will have finished with processing the given request.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: dimanche 28.02.2010 à 16:52  Name: trunk_update_queue.diff  Size: 28
ko   By: pepeto

<http://gna.org/patch/download.php?file_id=8327>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1495>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to