diff options
Diffstat (limited to 'src/im_lib.cpp')
-rw-r--r-- | src/im_lib.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/im_lib.cpp b/src/im_lib.cpp new file mode 100644 index 0000000..66ded68 --- /dev/null +++ b/src/im_lib.cpp @@ -0,0 +1,34 @@ +/** \file + * \brief Library Management + * + * See Copyright Notice in im_lib.h + * $Id: im_lib.cpp,v 1.1 2008/10/17 06:10:16 scuri Exp $ + */ + +#include <stdlib.h> +#include <string.h> + +#include "im_lib.h" + +static char *iVersion = "TECVERID.str:IM:LIB:"IM_VERSION; + +const char iIdent[] = + "$IM: " IM_VERSION " " IM_COPYRIGHT " $\n" + "$URL: www.tecgraf.puc-rio.br/im $\n"; + +const char* imVersion(void) +{ + (void)iVersion; + (void)iIdent; + return IM_VERSION; +} + +const char* imVersionDate(void) +{ + return IM_VERSION_DATE; +} + +int imVersionNumber(void) +{ + return IM_VERSION_NUMBER; +} |