Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals  

mlview-global-settings.h

Go to the documentation of this file.
00001 /*
00002  *This file is part of MlView
00003  *
00004  *MlView is free software; you can redistribute it and/or modify it under the terms of 
00005  *the GNU General Public License as published by the Free Software Foundation; either version 2, 
00006  *or (at your option) any later version.
00007  *
00008  *MlView is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 
00009  *without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00010  *See the GNU General Public License for more details.
00011  *
00012  *You should have received a copy of the GNU General Public License along with MlView; 
00013  *see the file COPYING. If not, write to the Free Software Foundation, 
00014  *Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00015  *
00016  *
00017  *Copyright 2001-2002 Dodji Seketeli.
00018  */
00019 #ifndef __MLVIEW_GLOBAL_SETTINGS_H__
00020 #define __MLVIEW_GLOBAL_SETTINGS_H__
00021 
00022 #include <stdlib.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif /*__cplusplus*/
00027 
00028 /*###########################################################
00029  *here goes the application wide settings keys and values.
00030  *As these settings are put in a hash table, i think it is good
00031  *to store them as strings. That is good for extensibility.
00032  *##########################################################*/
00033 
00034 /************************************************************************
00035  *possible settings hash table keys. These values are all
00036  *prefixed with MLVIEW_STG_K which stands for "mlview settings key"
00037  ***********************************************************************/
00038 
00039         /*wether if validation is on/off. possible values are MLVIEW_STG_V_YES or MLVIEW_STG_V_NO*/
00040         extern const char * MLVIEW_STG_K_IS_VALIDATION_ON ;
00041         
00042         /*the default tree expansion level*/
00043         extern const char * MLVIEW_STG_K_DEFAULT_TREE_EXPANSION_LEVEL ;
00044 
00045         extern const char * MLVIEW_STG_K_PIXMAPS_DIR ;
00046         extern const char * MLVIEW_STG_K_ICON_PATH ;
00047         extern const char * MLVIEW_STG_K_OPEN_ELEMENT_NODE_XPM ;
00048         extern const char * MLVIEW_STG_K_CLOSE_ELEMENT_NODE_XPM ;
00049         extern const char * MLVIEW_STG_K_TEXT_NODE_XPM ;
00050         extern const char * MLVIEW_STG_K_OPEN_ELEMENT_NODE_BPM ;
00051         extern const char * MLVIEW_STG_K_CLOSE_ELEMENT_NODE_BPM ;
00052         extern const char * MLVIEW_STG_K_TEXT_NODE_BPM ;
00053         extern const char * MLVIEW_STG_K_XML_CATALOG ;
00054 
00055 /***********************************************************************
00056  *possible settings hash table values. These values are all prefixed with MLVIEW_STG_V 
00057  *which stands for "mlview settings value".
00058  ***********************************************************************/
00059 
00060         extern const char * MLVIEW_STG_V_YES ;
00061         extern const char * MLVIEW_STG_V_NO ;
00062         extern const char * MLVIEW_STG_V_DEFAULT_TREE_EXPANSION_LEVEL ;
00063         extern const char * MLVIEW_STG_V_PIXMAPS_DIR ;
00064         extern const char * MLVIEW_STG_V_ICON_PATH ;
00065         extern const char * MLVIEW_STG_V_OPEN_ELEMENT_NODE_XPM ;
00066         extern const char * MLVIEW_STG_V_CLOSE_ELEMENT_NODE_XPM ;
00067         extern const char * MLVIEW_STG_V_TEXT_NODE_XPM ;
00068 /**********************************************************
00069  *Other application wide constants.
00070  **********************************************************/
00071 
00072 #ifdef __cplusplus
00073 #}
00074 #endif /*__cplusplus*/
00075 #endif

Generated on Sat Jul 6 09:57:33 2002 for Gnome-MlView by doxygen1.2.16