waf: display warning if GUI frontend will not be built
[ladish.git] / gui / menu.h
blobb092f0bd63f011ddfc080030c1cac7c318c330c5
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*
3 * LADI Session Handler (ladish)
5 * Copyright (C) 2010 Nedko Arnaudov <nedko@arnaudov.name>
7 **************************************************************************
8 * This file contains interface to menu related code
9 **************************************************************************
11 * LADI Session Handler is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * LADI Session Handler is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with LADI Session Handler. If not, see <http://www.gnu.org/licenses/>
23 * or write to the Free Software Foundation, Inc.,
24 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27 #ifndef MENU_H__37ACA2FE_C43D_4FA8_B7CF_6DD345F17CD1__INCLUDED
28 #define MENU_H__37ACA2FE_C43D_4FA8_B7CF_6DD345F17CD1__INCLUDED
30 #include "graph_view.h"
32 void menu_init(void);
33 void menu_studio_state_changed(unsigned int studio_state);
34 void menu_set_jack_latency_items_sensivity(bool sensitive);
35 bool menu_set_jack_latency(uint32_t buffer_size, bool force);
36 void menu_view_activated(bool room);
37 void fill_view_popup_menu(GtkMenu * menu, graph_view_handle view);
39 void menu_request_daemon_exit(void);
40 void menu_request_jack_configure(void);
41 void menu_request_save_studio(void);
42 void menu_request_save_as_studio(void);
43 void menu_request_new_studio(void);
44 void menu_request_start_app(void);
45 void menu_request_start_studio(void);
46 void menu_request_stop_studio(void);
47 void menu_request_unload_studio(void);
48 void menu_request_rename_studio(void);
49 void menu_request_create_room(void);
50 void menu_request_destroy_room(void);
51 void menu_request_load_project(void);
52 void menu_request_unload_project(void);
53 void menu_request_save_project(void);
54 void menu_request_save_as_project(void);
55 void menu_request_jack_latency_change(uint32_t buffer_size);
57 void menu_request_toggle_toolbar(bool visible);
58 void menu_request_toggle_raw_jack(bool visible);
60 #endif /* #ifndef MENU_H__37ACA2FE_C43D_4FA8_B7CF_6DD345F17CD1__INCLUDED */