root/proxies/studio_proxy.h @ 15350decd4777a2d9a9e21175b7d62307f235434

Revision 15350decd4777a2d9a9e21175b7d62307f235434, 2.0 KB (checked in by Nedko Arnaudov <nedko@…>, 9 months ago)

studio "save as". Fixes #13

  • Property mode set to 100644
Line 
1/* -*- Mode: C ; c-basic-offset: 2 -*- */
2/*
3 * LADI Session Handler (ladish)
4 *
5 * Copyright (C) 2009 Nedko Arnaudov <nedko@arnaudov.name>
6 *
7 **************************************************************************
8 * This file contains interface to the helper functionality for accessing
9 * Studio object through D-Bus
10 **************************************************************************
11 *
12 * LADI Session Handler is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
16 *
17 * LADI Session Handler is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with LADI Session Handler. If not, see <http://www.gnu.org/licenses/>
24 * or write to the Free Software Foundation, Inc.,
25 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
26 */
27
28#ifndef STUDIO_PROXY_H__2CEC623F_C998_4618_A947_D1A0016DF978__INCLUDED
29#define STUDIO_PROXY_H__2CEC623F_C998_4618_A947_D1A0016DF978__INCLUDED
30
31#include "common.h"
32
33bool studio_proxy_init(void);
34void studio_proxy_uninit(void);
35bool studio_proxy_get_name(char ** name);
36bool studio_proxy_rename(const char * name);
37bool studio_proxy_save(void);
38bool studio_proxy_save_as(const char * name);
39bool studio_proxy_unload(void);
40void studio_proxy_set_renamed_callback(void (* callback)(const char * new_studio_name));
41
42void studio_proxy_set_startstop_callbacks(void (* started_callback)(void), void (* stopped_callback)(void), void (* crashed_callback)(void));
43bool studio_proxy_start(void);
44bool studio_proxy_stop(void);
45bool studio_proxy_is_started(bool * is_started_ptr);
46
47#endif /* #ifndef STUDIO_PROXY_H__2CEC623F_C998_4618_A947_D1A0016DF978__INCLUDED */
Note: See TracBrowser for help on using the browser.