fix crash when copy'ing latent plugins
[ardour.git] / gtk2_ardour / opts.h
1 /*
2     Copyright (C) 2001 Paul Davis
3
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.
8
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.
13
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.
17
18 */
19
20 #ifndef __ardour_opts_h__
21 #define __ardour_opts_h__
22
23 #include <string>
24
25 namespace ARDOUR_COMMAND_LINE {
26
27 extern std::string session_name;
28 extern bool   show_key_actions;
29 extern bool   no_splash;
30 extern bool   just_version;
31 extern std::string backend_client_name;
32 extern std::string backend_session_uuid;
33 extern bool   use_vst;
34 extern bool   new_session;
35 extern char*  curvetest_file;
36 extern bool   try_hw_optimization;
37 extern bool no_connect_ports;
38 extern bool   use_gtk_theme;
39 extern std::string keybindings_path;
40 extern std::string menus_file;
41 extern bool   finder_invoked_ardour;
42 extern std::string immediate_save;
43 extern std::string load_template;
44 extern bool        check_announcements;
45
46 extern int32_t parse_opts (int argc, char *argv[]);
47
48 }
49
50 #endif /* __ardour_opts_h__ */