added global revision info access
git-svn-id: svn://localhost/ardour2/trunk@943 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
14
SConstruct
14
SConstruct
@@ -15,7 +15,7 @@ import SCons.Node.FS
|
||||
SConsignFile()
|
||||
EnsureSConsVersion(0, 96)
|
||||
|
||||
version = '2.0beta3.2'
|
||||
version = '2.0beta4'
|
||||
|
||||
subst_dict = { }
|
||||
|
||||
@@ -948,7 +948,17 @@ env.Distribute (env['DISTTREE'],
|
||||
'COPYING', 'PACKAGER_README', 'README',
|
||||
'ardour.rc.in',
|
||||
'ardour_system.rc',
|
||||
'tools/config.guess'
|
||||
'tools/config.guess',
|
||||
'icons/icon/ardour_icon_mac_mask.png',
|
||||
'icons/icon/ardour_icon_mac.png',
|
||||
'icons/icon/ardour_icon_tango_16px_blue.png',
|
||||
'icons/icon/ardour_icon_tango_16px_red.png',
|
||||
'icons/icon/ardour_icon_tango_22px_blue.png',
|
||||
'icons/icon/ardour_icon_tango_22px_red.png',
|
||||
'icons/icon/ardour_icon_tango_32px_blue.png',
|
||||
'icons/icon/ardour_icon_tango_32px_red.png',
|
||||
'icons/icon/ardour_icon_tango_48px_blue.png',
|
||||
'icons/icon/ardour_icon_tango_48px_red.png'
|
||||
] +
|
||||
glob.glob ('DOCUMENTATION/AUTHORS*') +
|
||||
glob.glob ('DOCUMENTATION/CONTRIBUTORS*') +
|
||||
|
||||
@@ -47,7 +47,8 @@ namespace ARDOUR {
|
||||
|
||||
int init (bool with_vst, bool try_optimization);
|
||||
int cleanup ();
|
||||
|
||||
|
||||
std::string get_ardour_revision ();
|
||||
|
||||
std::string get_user_ardour_path ();
|
||||
std::string get_system_data_path ();
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
$Id$
|
||||
$Id: globals.cc 935 2006-09-29 21:39:39Z paul $
|
||||
*/
|
||||
|
||||
#include <cstdio> // Needed so that libraptor (included in lrdf) won't complain
|
||||
@@ -357,6 +357,12 @@ ARDOUR::new_change ()
|
||||
return c;
|
||||
}
|
||||
|
||||
string
|
||||
ARDOUR::get_ardour_revision ()
|
||||
{
|
||||
return "$Rev$";
|
||||
}
|
||||
|
||||
string
|
||||
ARDOUR::get_user_ardour_path ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user