00001 #ifndef __kr_controller_private_h__ 00002 #define __kr_controller_private_h__ 00003 00004 #include "kr_controller.h" 00005 00006 #include "application_config.h" 00007 00008 #include "ac_app_context_private.h" 00009 #include "cf_rcfile.h" 00010 #include "config_db.h" 00011 #include "local_server.h" 00012 #include "ld_log_db.h" 00013 #include "kr_plat_ao.h" 00014 #include "rk_remokon.h" 00015 #include "sa_array.h" 00016 #include "up_uploader.h" 00017 00018 #include "common/gx_maybe_string.h" 00019 00020 #ifdef __cplusplus 00021 extern "C" { 00022 #endif 00023 00024 struct _kr_Controller { 00025 #if HAVE_PLAT_AO 00026 kr_PlatAo* platAo; 00027 #endif 00028 00029 ac_AppContext* appContext; // not owned 00030 00031 LogDb* log; // owned 00032 00033 ConfigDb* configDb; // owned 00034 00035 cf_RcFile* rcFile; // owned 00036 00037 sa_Array* scanner; // owned 00038 00039 #if __FEATURE_LOCALSERVER__ 00040 LocalServer* localServer; // owned 00041 #endif 00042 00043 #if __FEATURE_REMOKON__ 00044 rk_Remokon* remokon; // owned 00045 #endif 00046 00047 #if __FEATURE_UPLOADER__ 00048 up_Uploader* uploader; // owned 00049 #endif 00050 00051 gboolean are_uploads_allowed; 00052 gboolean is_netpos_allowed; 00053 gboolean is_cellular_ap; 00054 int non_roaming_mcc; // -1 for none configured 00055 const char* non_roaming_operator_name; // NULL for none configured 00056 int current_mcc; // -1 for no network 00057 int current_signal_strength; // +1 for no network 00058 GMaybeString current_operator_name; 00059 }; 00060 00061 #ifdef __cplusplus 00062 } /* extern "C" */ 00063 #endif 00064 00065 #endif /* __kr_controller_private_h__ */ 00066 00067 /** 00068 00069 kr_controller_private.h 00070 00071 Copyright 2009 Helsinki Institute for Information Technology (HIIT) 00072 and the authors. All rights reserved. 00073 00074 Authors: Tero Hasu <tero.hasu@hut.fi> 00075 00076 Permission is hereby granted, free of charge, to any person 00077 obtaining a copy of this software and associated documentation files 00078 (the "Software"), to deal in the Software without restriction, 00079 including without limitation the rights to use, copy, modify, merge, 00080 publish, distribute, sublicense, and/or sell copies of the Software, 00081 and to permit persons to whom the Software is furnished to do so, 00082 subject to the following conditions: 00083 00084 The above copyright notice and this permission notice shall be 00085 included in all copies or substantial portions of the Software. 00086 00087 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00088 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00089 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00090 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 00091 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 00092 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00093 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 00094 SOFTWARE. 00095 00096 **/
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:54 2011 by Doxygen 1.6.1