2 Copyright (C) 1999-2009 Paul Davis
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 #ifndef __ardour_ardour_h__
21 #define __ardour_ardour_h__
29 #include "pbd/signals.h"
31 #include "pbd/error.h"
32 #include "pbd/failed_constructor.h"
33 #include "pbd/locale_guard.h"
34 #include "pbd/stateful.h"
36 #include "ardour/types.h"
38 #include <jack/jack.h>
49 extern PBD::Signal1<void,std::string> BootMessage;
51 int init (bool with_vst, bool try_optimization);
52 void init_post_engine ();
54 bool no_auto_connect ();
55 void make_property_quarks ();
57 extern PBD::PropertyChange bounds_change;
59 extern const char* const ardour_config_info;
61 void find_bindings_files (std::map<std::string,std::string>&);
63 std::string translation_kill_path ();
64 bool translations_are_disabled ();
66 static inline microseconds_t get_microseconds () {
67 return (microseconds_t) jack_get_time();
73 #endif /* __ardour_ardour_h__ */