[main]    [up]  

WxExtLib - WxExtLibConfig_Version.h

00001: // -*- c++ -*-
00002: /*
00003: -------------------------------------------------------------------------
00004: This file is part of WxWidgetsExtensions library.
00005: -------------------------------------------------------------------------
00006: 
00007: WxExtLib (WxWidgetsExtensions) library
00008: -----------------------------
00009: 
00010: COPYRIGHT NOTICE:
00011: 
00012: WxExtLib library Copyright (c) 2006-2007 Daniel Käps
00013: 
00014: The WxWidgetsExtensions library and associated documentation files (the
00015: "Software") is provided "AS IS".  The author(s) disclaim all
00016: warranties, expressed or implied, including, without limitation, the
00017: warranties of merchantability and of fitness for any purpose.  The
00018: author(s) assume no liability for direct, indirect, incidental,
00019: special, exemplary, or consequential damages, which may result from
00020: the use of or other dealings in the Software, even if advised of the
00021: possibility of such damage.
00022: 
00023: Permission is hereby granted, free of charge, to any person obtaining
00024: a copy of this Software, to deal in the Software without restriction,
00025: including without limitation the rights to use, copy, modify, merge,
00026: publish, distribute, sublicense, and/or sell copies of the Software,
00027: and to permit persons to whom the Software is furnished to do so,
00028: subject to the following conditions:
00029: 
00030:  1. The origin of this source code must not be misrepresented.
00031:  2. Altered versions must be plainly marked as such and must not be
00032:     misrepresented as being the original source.
00033:  3. This Copyright notice may not be removed or altered from any 
00034:     source or altered source distribution.
00035: 
00036: End of WxWidgetsExtensions library Copyright notice
00037: */
00038: 
00039: //-------------------------------------------------------------------------
00040: 
00041: #ifndef _INCLUDED_WxExtLibConfig_Version_h
00042: #define _INCLUDED_WxExtLibConfig_Version_h
00043: 
00044: //-------------------------------------------------------------------------
00045: // WxExtLib Version setup
00046: //-------------------------------------------------------------------------
00047: 
00048: #include <WxExtLibConfig.h>
00049: 
00050: //-------------------------------------------------------------------------
00051: 
00052: // version number setup for this WxExtLib source
00053: // - note: SubMinorVersion sometimes is referred to as "micro-version",
00054: //   "release-number", "patch-level"
00055: // - ranges (relevant for M_WxExtLib_makeVersionLong() and rel. macros):
00056: //   - MajorInt: 0-99, 
00057: //   - MinorInt: 0-99,
00058: //   - SubMinorInt: 0-9999
00059: #define M_WxExtLib_MajorVersionInt 0
00060: #define M_WxExtLib_MinorVersionInt 84
00061: #define M_WxExtLib_SubMinorVersionInt 0018
00062: 
00063: #define M_WxExtLib_VersionTagString "-"
00064: 
00065: //-------------------------------------------------------------------------
00066: 
00067: #define M_WxExtLib_CompilationDateString __DATE__ 
00068: #define M_WxExtLib_CompilationTimeString __TIME__
00069: #define M_WxExtLib_VersionFileTimestampString "?" /* __TIMESTAMP__ */
00070: 
00071: #define M_WxExtLib_LastRepositoryDate "$Date: 2007/04/12 20:00:14 $"
00072: #define M_WxExtLib_LastRepositoryRevision "$Revision: 1.9 $"
00073: 
00074: //-------------------------------------------------------------------------
00075: 
00076: // compose version ident string, for example "0.78.0005":
00077: #define M_WxExtLib_VersionIdentString \
00078:     "" M_PP_stringize(M_WxExtLib_MajorVersionInt) "."  \
00079:     "" M_PP_stringize(M_WxExtLib_MinorVersionInt) "."  \
00080:     "" M_PP_stringize(M_WxExtLib_SubMinorVersionInt)   \
00081: 
00082: #define M_WxExtLib_DateIdentString "2007-04-12.01"
00083: 
00084: //-------------------------------------------------------------------------
00085: 
00086: // version number handling
00087: // - note: next defintions are maybe useful, but for improved flexibility,
00088: //   it would be better to use special version class instead of 
00089: //   packing version into long
00090: #define M_WxExtLib_makeVersionLong(MajorInt,MinorInt,SubMinorInt) \
00091:      (M_WxExtLib_MajorVersionInt * 10000000 \
00092:       + M_WxExtLib_MinorVersionInt * 100000 \
00093:       + M_WxExtLib_SubMinorVersionInt *  10)
00094: 
00095: #define M_WxExtLib_SourceVersionLong \
00096:       M_WxExtLib_makeVersionLong(M_WxExtLib_MajorVersionInt, \
00097:                                  M_WxExtLib_MinorVersionInt, \
00098:                                  M_WxExtLib_SubMinorVersionInt)
00099: // maybe:
00100: //   #define M_WxExtLib_fillVersionStruct()
00101: 
00102: // return version information of code in a DLL                                     
00103: // - TagString will point to statically allocated string
00104: M_WxExtLib_ExportDecl void getWxExtLibLinkedLibraryVersion (long & MajorInt, 
00105:                                                             long & MinorInt,
00106:                                                             long & SubMinorInt,
00107:                                                             const char ** TagString);
00108: 
00109: //-------------------------------------------------------------------------
00110: 
00111: #endif
00112: 
00113: //-------------------------------------------------------------------------
00114: 
  [main]    [up]  
DaicasWeb v.1.50.0102  //   Daniel Käps  //   April 12, 2007  //   Impressum / Imprint 
http://www.daicas.net/WxExtLib/src/WxExtLibConfig_Version.h.html