diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-09-28 02:05:43 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-09-28 02:05:43 +0800 |
commit | 10ec882bf12ce134072585b057738dcb9c242846 (patch) | |
tree | df22be7e88ade8fbbe65fd8aceea0da142a152d0 /camel/camel-op-queue.h | |
parent | ea421e8d5838d758418aa3e6fddafe593badb15f (diff) | |
download | gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.tar gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.tar.gz gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.tar.bz2 gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.tar.lz gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.tar.xz gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.tar.zst gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.zip |
redesign of the proxy/marshaling code. Uses GtkArg now. sync commit.
* redesign of the proxy/marshaling code. Uses GtkArg now.
* sync commit. Evolution does not build at all now.
svn path=/trunk/; revision=1260
Diffstat (limited to 'camel/camel-op-queue.h')
-rw-r--r-- | camel/camel-op-queue.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/camel/camel-op-queue.h b/camel/camel-op-queue.h index 809946867f..9c91ca9297 100644 --- a/camel/camel-op-queue.h +++ b/camel/camel-op-queue.h @@ -30,13 +30,13 @@ extern "C" { #endif /* __cplusplus }*/ #include <glib.h> +#include "camel-marshal-utils.h" -typedef void (CamelOpFunc)(gpointer param); -typedef struct { - CamelOpFunc *func; - gpointer param; +typedef struct { + CamelFuncDef *func_def; + GtkArg *params; } CamelOp; @@ -57,8 +57,10 @@ gboolean camel_op_queue_run_next_op (CamelOpQueue *queue); gboolean camel_op_queue_get_service_availability (CamelOpQueue *queue); void camel_op_queue_set_service_availability (CamelOpQueue *queue, gboolean available); -CamelOp *camel_op_new (); +CamelOp *camel_op_new (CamelFuncDef *func_def); void camel_op_free (CamelOp *op); +gboolean camel_op_run (CamelOp *op); +gboolean camel_op_run_and_free (CamelOp *op); #ifdef __cplusplus |