path_configuration.h

Go to the documentation of this file.
00001 #ifndef PATH_CONFIGURATION_GROUP
00002 #define PATH_CONFIGURATION_GROUP
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : path configuration definitions                                    *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 2000-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00019 
00020 #include "opsysdll.h"
00021 
00022 #define OSFUNC OPSYSTEM_FUNCTION_STYLE
00023 
00024 namespace path_configuration {
00025 
00026 const char OSFUNC *PATH_CONFIGURATION_FILENAME();
00028 
00032 istring OSFUNC path_configuration_file();
00034 
00038 istring OSFUNC application_name();
00040 
00041 void OSFUNC hard_code_application_name(const istring &new_name);
00043 
00048 istring OSFUNC installation_root();
00050 
00054 istring OSFUNC core_bin_directory();
00056 
00057 istring OSFUNC application_directory();
00059 
00060 void OSFUNC hard_code_application_dir(const istring &new_dir);
00062 
00066 istring OSFUNC get_logging_directory();
00068 
00069 istring OSFUNC make_logfile_name(const istring &base_name);
00071 
00078 istring OSFUNC read_item(const istring &key_name);
00080 
00084 // the following are all key names within the path configuration file.
00085 
00086 const istring OSFUNC &GLOBAL_SECTION_NAME();
00088 
00094 const istring OSFUNC &LOCAL_FOLDER_NAME();
00096 
00098 const istring OSFUNC &LOGGING_FOLDER_NAME();
00100 
00104 } // namespace.
00105 
00106 #undef OSFUNC
00107 
00108 #endif
00109 

Generated on Fri Nov 28 04:29:29 2008 for HOOPLE Libraries by  doxygen 1.5.1