guilog.h

Go to the documentation of this file.
00001 #ifndef __guilog_h__
00002 #define __guilog_h__
00003 
00004 #include "application_config.h"
00005 
00006 #if __FEATURE_GUILOG__
00007 
00008 #ifdef __cplusplus
00009 extern "C" {
00010 #endif
00011 
00012   // Give any strings as UTF-8.
00013   void guilogf(const char* fmt, ...);
00014 
00015 #ifdef __cplusplus
00016 } /* extern "C" */
00017 #endif
00018 
00019 #if defined(__cplusplus)
00020 void guilog(const char* s);
00021 #endif
00022 
00023 #if defined(__cplusplus) && defined(__SYMBIAN32__)
00024 
00025 #include <e32cmn.h>
00026 
00027 void guilog(const TDesC8& s);
00028 void guilog(const TDesC16& s);
00029 
00030 #endif /* __SYMBIAN32__ */
00031 
00032 #if defined(__cplusplus) && defined(QT_CORE_LIB)
00033 
00034 #include <QString>
00035 
00036 void guilog(const QString& s);
00037 
00038 #endif
00039 
00040 #else // if __FEATURE_GUILOG__
00041 
00042 #define guilogf(f...) ((void)0)
00043 #define guilog(f) ((void)0)
00044 
00045 #endif // if __FEATURE_GUILOG__
00046 
00047 #endif /* __guilog_h__ */
00048 
00049 /**
00050 
00051 Copyright 2011 Helsinki Institute for Information Technology (HIIT)
00052 and the authors. All rights reserved.
00053 
00054 Authors: Tero Hasu <tero.hasu@hut.fi>
00055 
00056 Permission is hereby granted, free of charge, to any person
00057 obtaining a copy of this software and associated documentation files
00058 (the "Software"), to deal in the Software without restriction,
00059 including without limitation the rights to use, copy, modify, merge,
00060 publish, distribute, sublicense, and/or sell copies of the Software,
00061 and to permit persons to whom the Software is furnished to do so,
00062 subject to the following conditions:
00063 
00064 The above copyright notice and this permission notice shall be
00065 included in all copies or substantial portions of the Software.
00066 
00067 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00068 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00069 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
00070 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
00071 BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
00072 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00073 CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
00074 SOFTWARE.
00075 
00076  **/

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