Update of /cvsroot/foo/foo/libfoo/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27520
Modified Files:
FOOGlobalsManager.m
Log Message:
added +getVersion
Index: FOOGlobalsManager.m
===================================================================
RCS file: /cvsroot/foo/foo/libfoo/src/FOOGlobalsManager.m,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** FOOGlobalsManager.m 4 Aug 2004 06:16:41 -0000 1.2
--- FOOGlobalsManager.m 4 Aug 2004 06:43:55 -0000 1.3
***************
*** 35,38 ****
--- 35,42 ----
/* $Id$ */
+ #ifdef HAVE_CONFIG_H
+ #include "config.h"
+ #endif
+
#include <math.h>
#include <stdio.h>
***************
*** 90,93 ****
--- 94,107 ----
+ + (NSString *) getVersion
+ {
+ #ifdef VERSION
+ return @VERSION;
+ #elif
+ return @"unknown";
+ #endif
+ }
+
+
+ (BOOL) trace
{
|