daemon: improve log
[ladish.git] / gui / control_proxy.h
blob44ea41c4c8eeba44c6870c190cfeb397a3a99b57
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*
3 * LADI Session Handler (ladish)
5 * Copyright (C) 2009 Nedko Arnaudov <nedko@arnaudov.name>
7 **************************************************************************
8 * This file contains interface to code that interfaces
9 * the ladishd Control object through D-Bus
10 **************************************************************************
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.
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.
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.
28 #ifndef CONTROL_PROXY_H__8BC89E98_FE1B_4831_8B89_1A48F676E019__INCLUDED
29 #define CONTROL_PROXY_H__8BC89E98_FE1B_4831_8B89_1A48F676E019__INCLUDED
31 #include "common.h"
32 #include "../common/klist.h"
34 bool control_proxy_init(void);
35 void control_proxy_uninit(void);
36 void control_proxy_on_studio_appeared(void);
37 void control_proxy_on_studio_disappeared(void);
38 bool control_proxy_get_studio_list(void (* callback)(void * context, const char * studio_name), void * context);
39 bool control_proxy_new_studio(const char * studio_name);
40 bool control_proxy_load_studio(const char * studio_name);
41 bool control_proxy_delete_studio(const char * studio_name);
42 bool control_proxy_exit(void);
44 #endif /* #ifndef CONTROL_PROXY_H__8BC89E98_FE1B_4831_8B89_1A48F676E019__INCLUDED */