00001 #ifndef __kr_controller_h__ 00002 #define __kr_controller_h__ 00003 00004 #include <glib.h> 00005 00006 #ifdef __cplusplus 00007 extern "C" { 00008 #endif 00009 00010 typedef struct _kr_Controller kr_Controller; 00011 00012 kr_Controller* kr_Controller_new(GError** error); 00013 00014 void kr_Controller_destroy(kr_Controller* self); 00015 00016 gboolean kr_Controller_start(kr_Controller* self, 00017 GError** error); 00018 00019 void kr_Controller_stop(kr_Controller* self); 00020 00021 gboolean kr_Controller_run(kr_Controller* self, 00022 GError** error); 00023 00024 gboolean kr_Controller_reconfigure(kr_Controller* self, 00025 const gchar* name, 00026 const gchar* value, 00027 GError** error); 00028 00029 void kr_Controller_set_signal_strength(kr_Controller* self, int strength); 00030 void kr_Controller_set_current_mcc(kr_Controller* self, int mcc); 00031 void kr_Controller_set_operator_name(kr_Controller* self, const char* name); 00032 00033 #ifdef __cplusplus 00034 } /* extern "C" */ 00035 #endif 00036 00037 #endif /* __kr_controller_h__ */ 00038 00039 /** 00040 00041 kr_controller.h 00042 00043 Copyright 2009 Helsinki Institute for Information Technology (HIIT) 00044 and the authors. All rights reserved. 00045 00046 Authors: Tero Hasu <tero.hasu@hut.fi> 00047 00048 Permission is hereby granted, free of charge, to any person 00049 obtaining a copy of this software and associated documentation files 00050 (the "Software"), to deal in the Software without restriction, 00051 including without limitation the rights to use, copy, modify, merge, 00052 publish, distribute, sublicense, and/or sell copies of the Software, 00053 and to permit persons to whom the Software is furnished to do so, 00054 subject to the following conditions: 00055 00056 The above copyright notice and this permission notice shall be 00057 included in all copies or substantial portions of the Software. 00058 00059 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00060 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00061 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00062 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS 00063 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 00064 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 00065 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 00066 SOFTWARE. 00067 00068 **/
ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:54 2011 by Doxygen 1.6.1