Browse Source

Add additional version to project info.

tags/non-daw-v1.1.0
Jonathan Moore Liles 17 years ago
parent
commit
a81b174b90
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      Timeline/Project.C

+ 7
- 1
Timeline/Project.C View File

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



Loading…
Cancel
Save