Mercurial > hg > fxanalyse
diff config.h @ 169:97112b45b838
Get Sr data logger parameters from configuration file. Code reorganization.
author | Daniele Nicolodi <daniele.nicolodi@obspm.fr> |
---|---|
date | Fri, 14 Feb 2014 16:58:19 +0100 |
parents | |
children | 6e64ac00303e |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config.h Fri Feb 14 16:58:19 2014 +0100 @@ -0,0 +1,14 @@ +#ifndef __CONFIG_H__ +#define __CONFIG_H__ + +#define CONFIGFILE "FXAnalyse.ini" + +#define GetIniFilePath(path) \ + do { \ + char project[MAX_PATHNAME_LEN]; \ + GetProjectDir(project); \ + MakePathname(project, CONFIGFILE, path); \ + } while (0) + + +#endif