SCIMBridge 0.4.x

common/scim-bridge-debug.h

Go to the documentation of this file.
00001 /*
00002  * SCIM Bridge
00003  *
00004  * Copyright (c) 2006 Ryo Dairiki <ryo-dairiki@users.sourceforge.net>
00005  *
00006  *
00007  * This library is free software; you can redistribute it and/or
00008  * modify it under the terms of the GNU Lesser General Public
00009  * License as published by the Free Software Foundation and 
00010  * appearing in the file LICENSE.LGPL included in the package of this file.
00011  * You can also redistribute it and/or modify it under the terms of 
00012  * the GNU General Public License as published by the Free Software Foundation and 
00013  * appearing in the file LICENSE.GPL included in the package of this file.
00014  *
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00018  */
00019 
00025 #ifndef SCIMBRIDGEDEBUG_H_
00026 #define SCIMBRIDGEDEBUG_H_
00027 
00028 #include "scim-bridge.h"
00029 
00033 typedef int scim_bridge_debug_level_t;
00034 
00038 static const scim_bridge_debug_level_t SCIM_BRIDGE_MAX_DEBUG_LEVEL = 9;
00039 
00043 static const scim_bridge_debug_level_t SCIM_BRIDGE_MIN_DEBUG_LEVEL = 0;
00044 
00045 #ifdef __cplusplus
00046 extern "C"
00047 {
00048 #endif
00049 
00055     scim_bridge_debug_level_t scim_bridge_debug_get_level ();
00056 
00057 #ifdef __cplusplus
00058 }
00059 #endif
00060 #endif                                            /*SCIMBRIDGEDEBUG_H_*/