client-run.h

Go to the documentation of this file.
00001 #ifndef __client_run_h__
00002 #define __client_run_h__
00003 
00004 #include "application_config.h"
00005 
00006 #include <glib.h>
00007 
00008 G_BEGIN_DECLS
00009 
00010 #if !defined(__SYMBIAN32__)
00011 gboolean cl2RunOnce(GError** error);
00012 
00013 int cl2RunOnceGetExitCode();
00014 #endif
00015 
00016 // Returns 0 on success.
00017 // If this fails, it is fatal, and you may not attempt again.
00018 int cl2GlobalInit();
00019 
00020 // Okay to call whether or not init succeeded.
00021 void cl2GlobalCleanup();
00022 
00023 G_END_DECLS
00024 
00025 #endif /* __client_run_h__ */
00026 
00027 /**
00028 
00029 client-run.h
00030 
00031 Copyright 2009 Helsinki Institute for Information Technology (HIIT)
00032 and the authors. All rights reserved.
00033 
00034 Authors: Tero Hasu <tero.hasu@hut.fi>
00035 
00036 Permission is hereby granted, free of charge, to any person
00037 obtaining a copy of this software and associated documentation files
00038 (the "Software"), to deal in the Software without restriction,
00039 including without limitation the rights to use, copy, modify, merge,
00040 publish, distribute, sublicense, and/or sell copies of the Software,
00041 and to permit persons to whom the Software is furnished to do so,
00042 subject to the following conditions:
00043 
00044 The above copyright notice and this permission notice shall be
00045 included in all copies or substantial portions of the Software.
00046 
00047 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00048 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00049 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00050 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
00051 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
00052 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00053 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
00054 SOFTWARE.
00055 
00056  **/

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:49:52 2011 by Doxygen 1.6.1