diff options
Diffstat (limited to 'im/src/im_lib.cpp')
-rwxr-xr-x | im/src/im_lib.cpp | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/im/src/im_lib.cpp b/im/src/im_lib.cpp new file mode 100755 index 0000000..05a71d8 --- /dev/null +++ b/im/src/im_lib.cpp @@ -0,0 +1,38 @@ +/** \file + * \brief Library Management + * + * See Copyright Notice in im_lib.h + * $Id: im_lib.cpp,v 1.5 2009/10/01 14:43:42 scuri Exp $ + */ + +#include <stdlib.h> +#include <string.h> + +#include "im_lib.h" + +/* This appears only here to avoid changing the im_lib.h header for bug fixes */ +#define IM_VERSION_FIX "" +#define IM_VERSION_FIX_NUMBER 0 + +static char *iVersion = "TECVERID.str:IM:LIB:" IM_VERSION IM_VERSION_FIX; + +const char iIdent[] = + "$IM: " IM_VERSION IM_VERSION_FIX " " IM_COPYRIGHT " $\n" + "$URL: www.tecgraf.puc-rio.br/im $\n"; + +const char* imVersion(void) +{ + (void)iVersion; + (void)iIdent; + return IM_VERSION IM_VERSION_FIX; +} + +const char* imVersionDate(void) +{ + return IM_VERSION_DATE; +} + +int imVersionNumber(void) +{ + return IM_VERSION_NUMBER+IM_VERSION_FIX_NUMBER; +} |