version.h

Go to the documentation of this file.
00001 /* Versioning.
00002  *
00003  * Epona (c) 2000-2002, 2004 PegSoft
00004  * Contact us at epona@pegsoft.net
00005  *
00006  * Based on the original code of Services by Andy Church.
00007  *
00008  * This program is free software; you can redistribute it and/or modify
00009  * it under the terms of the GNU General Public License as published by
00010  * the Free Software Foundation; either version 2 of the License, or
00011  * (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program (see the file COPYING); if not, write to the
00020  * Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00021  */
00022 
00026 #ifndef CORE_VERSION_H
00027 #define CORE_VERSION_H
00028 
00029 /*************************************************************************/
00030 
00031 namespace core
00032 {
00033 
00034 /*************************************************************************/
00035 
00037 static char const *const program_name = "Epona";
00039 static char const *const program_name_lc = "epona";
00041 static char const *const program_name_uc = "EPONA";
00043 static int const program_version = 0x01050002; /* 1.5.0 */
00044 
00045 /*************************************************************************/
00046 
00048 enum program_status_t
00049 {
00051     psDevel  = 0x01,
00053     psAlpha  = 0x02,
00055     psBeta   = 0x04,
00057     psPre    = 0x08,
00059     psStable = 0x10
00060 };
00061 
00062 static program_status_t const program_status = psBeta; 
00063 
00064 /*************************************************************************/
00065 
00067 static int const program_date = 20070424;
00068 
00069 /*************************************************************************/
00070 
00072 static int const core_version = program_version;
00073 
00074 /*************************************************************************/
00075 
00076 #if defined(IRC_SEQUANA)
00077 static char const *const program_protocol = "Sequana 1.4.36p2+";
00078 static char const *const program_protocol_l = "S";
00079 #elif defined(IRC_SEQUANA_LIGHT)
00080 static char const *const program_protocol = "Sequana Light 1.8.3+";
00081 static char const *const program_protocol_l = "s";
00082 #elif defined(IRC_BAHAMUT)
00083 static char const *const program_protocol = "Bahamut 1.4.36+";
00084 static char const *const program_protocol_l = "B";
00085 #elif defined(IRC_ULTIMATE)
00086 static char const *const program_protocol = "UltimateIRCd 2.8.2+";
00087 static char const *const program_protocol_l = "u";
00088 #elif defined(IRC_UNREAL)
00089 static char const *const program_protocol = "UnrealIRCd 3.2+";
00090 static char const *const program_protocol_l = "U";
00091 #elif defined(IRC_DREAMFORGE)
00092 static char const *const program_protocol = "DreamForge 4.6.7";
00093 static char const *const program_protocol_l = "D";
00094 #else
00095 static char const *const program_protocol = "unknown";
00096 static char const *const program_protocol_l = "unknown";
00097 #endif
00098 
00099 /*************************************************************************/
00100 
00101 } /* namespace core */
00102 
00103 /*************************************************************************/
00104 
00105 #endif /* CORE_VERSION_H */

Generated on Sun May 20 21:32:15 2007 for Epona API by  doxygen 1.4.6