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 );