Go to the source code of this file.
Typedefs | |
typedef struct _kr_Controller | kr_Controller |
Functions | |
kr_Controller * | kr_Controller_new (GError **error) |
void | kr_Controller_destroy (kr_Controller *self) |
gboolean | kr_Controller_start (kr_Controller *self, GError **error) |
void | kr_Controller_stop (kr_Controller *self) |
gboolean | kr_Controller_run (kr_Controller *self, GError **error) |
gboolean | kr_Controller_reconfigure (kr_Controller *self, const gchar *name, const gchar *value, GError **error) |
void | kr_Controller_set_signal_strength (kr_Controller *self, int strength) |
void | kr_Controller_set_current_mcc (kr_Controller *self, int mcc) |
void | kr_Controller_set_operator_name (kr_Controller *self, const char *name) |
typedef struct _kr_Controller kr_Controller |
Definition at line 10 of file kr_controller.h.
void kr_Controller_destroy | ( | kr_Controller * | self | ) |
Definition at line 386 of file kr_controller.c.
References ac_AppContext_set_controller(), ConfigDb_destroy(), free_uploads_allowed_state(), FREE_Z, kr_PlatAo_destroy(), LocalServer_destroy(), LogDb_destroy(), rk_Remokon_destroy(), sa_Array_destroy(), and stop_uploader().
Referenced by cl2RunOnce(), CCl2appAppUi::DestroyLogger(), kr_Controller_new(), main(), and CMainObj::~CMainObj().
kr_Controller* kr_Controller_new | ( | GError ** | error | ) |
Definition at line 265 of file kr_controller.c.
References ac_AppContext_configure(), ac_AppContext_set_controller(), ac_get_global_AppContext(), assert_error_unset, ConfigDb_new(), gx_error_no_memory, init_uploads_allowed_state(), kr_Controller_destroy(), kr_PlatAo_new(), LocalServer_new(), LogDb_new(), logt, rk_Remokon_new(), sa_Array_new(), and start_uploader().
Referenced by CMainObj::AppContextReady(), CCl2appAppUi::AppContextReady(), cl2RunOnce(), and main().
gboolean kr_Controller_reconfigure | ( | kr_Controller * | self, | |
const gchar * | name, | |||
const gchar * | value, | |||
GError ** | error | |||
) |
Definition at line 493 of file kr_controller.c.
References iap_config_changed(), NAME_EQUALS, NAME_STARTS_WITH, rk_Remokon_reconfigure(), sa_Array_reconfigure(), and up_Uploader_reconfigure().
Referenced by ConfigDb_set_generic().
gboolean kr_Controller_run | ( | kr_Controller * | self, | |
GError ** | error | |||
) |
Definition at line 475 of file kr_controller.c.
Referenced by cl2RunOnce().
void kr_Controller_set_current_mcc | ( | kr_Controller * | self, | |
int | mcc | |||
) |
Definition at line 236 of file kr_controller.c.
References logg, recompute_netpos_allowed(), and recompute_uploads_allowed().
void kr_Controller_set_operator_name | ( | kr_Controller * | self, | |
const char * | name | |||
) |
Definition at line 247 of file kr_controller.c.
References er_log_oom_on_false, GMaybeString_assign(), GMaybeString_is(), logg, recompute_netpos_allowed(), and recompute_uploads_allowed().
void kr_Controller_set_signal_strength | ( | kr_Controller * | self, | |
int | strength | |||
) |
Definition at line 226 of file kr_controller.c.
References recompute_uploads_allowed().
gboolean kr_Controller_start | ( | kr_Controller * | self, | |
GError ** | error | |||
) |
Definition at line 439 of file kr_controller.c.
References LocalServer_start(), logt, rk_Remokon_is_autostart_enabled(), rk_Remokon_start(), and sa_Array_start().
Referenced by CMainObj::AppContextReady(), cl2RunOnce(), main(), and CCl2appAppUi::Start().
void kr_Controller_stop | ( | kr_Controller * | self | ) |
Definition at line 462 of file kr_controller.c.
References LocalServer_stop(), rk_Remokon_stop(), and sa_Array_stop().
Referenced by cl2RunOnce(), and CCl2appAppUi::Stop().
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:59 2011 by Doxygen 1.6.1