kr_plat_ao.h

Go to the documentation of this file.
00001 #ifndef __kr_plat_ao_h__
00002 #define __kr_plat_ao_h__
00003 
00004 // Adjust this depending on whether you actually have an
00005 // implementation for your platform.
00006 #if defined(__SYMBIAN32__)
00007 #define HAVE_PLAT_AO 1
00008 #else
00009 #define HAVE_PLAT_AO 0
00010 #endif /* __SYMBIAN32__ */
00011 
00012 #if HAVE_PLAT_AO
00013 
00014 #include <glib.h>
00015 
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019 
00020   // Defines a platform-specific AO that runs alongside the primary
00021   // controller. This is just so that we need not come up with a
00022   // separate wrapper API for every little platform-specific thing
00023   // that might have to be going on within the controller.
00024 
00025 typedef struct _kr_PlatAo kr_PlatAo;
00026 
00027 kr_PlatAo* kr_PlatAo_new(GError** error);
00028 
00029 void kr_PlatAo_destroy(kr_PlatAo* self);
00030 
00031 #ifdef __cplusplus
00032 } /* extern "C" */
00033 #endif
00034 
00035 #endif // HAVE_PLAT_AO
00036 
00037 #endif /* __kr_plat_ao_h__ */
00038 
00039 /**
00040 
00041 kr_plat_ao.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