From a81b174b909e484e06954beec7275f5009a0bb75 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Tue, 6 May 2008 23:42:06 -0500 Subject: [PATCH] Add additional version to project info. --- Timeline/Project.C | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Timeline/Project.C b/Timeline/Project.C index 1f2ac89..4f56277 100644 --- a/Timeline/Project.C +++ b/Timeline/Project.C @@ -33,8 +33,11 @@ project state belongs to Timeline and other classes. */ #include "Timeline.H" // for sample_rate(); +/* FIXME: wrong place for this */ #define APP_TITLE "Non-DAW" +#define PROJECT_VERSION "0.28.0" + #include "debug.h" char Project::_name[256]; bool Project::_is_open = false; @@ -86,7 +89,10 @@ Project::write_info ( void ) return false; } - fprintf( fp, "version\n\t%s\nsample rate\n\t%lu\n", APP_TITLE " " VERSION, timeline->sample_rate() ); + fprintf( fp, "created by\n\t%s\nversion\n\t%s\nsample rate\n\t%lu\n", + APP_TITLE " " VERSION, + PROJECT_VERSION, + timeline->sample_rate() ); fclose( fp );