aboutsummaryrefslogtreecommitdiff
path: root/src/mm-sim.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2011-11-22 18:47:00 +0100
committerAleksander Morgado <aleksander@lanedo.com>2012-03-15 14:14:23 +0100
commit23dd4d7e8227b2b1bd11eaee47aa3214c9ef688c (patch)
tree40e9ef2d7c3072c2af22e736702ff44f318c838e /src/mm-sim.h
parentff0136ed04ca8b94de1de3b78bd63a22dd01e809 (diff)
sim: allow re-launching initialization
It may happen that we cannot load property values when the SIM is locked, so we need to enable re-launching initialization in the object API.
Diffstat (limited to 'src/mm-sim.h')
-rw-r--r--src/mm-sim.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mm-sim.h b/src/mm-sim.h
index 5a3c0712..34181c15 100644
--- a/src/mm-sim.h
+++ b/src/mm-sim.h
@@ -58,6 +58,13 @@ MMSim *mm_sim_new_finish (GAsyncInitable *initable,
GAsyncResult *res,
GError **error);
+void mm_sim_initialize (MMSim *self,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean mm_sim_initialize_finish (MMSim *self,
+ GAsyncResult *result,
+ GError **error);
#endif /* MM_SIM_H */