1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
3 * LADI Session Handler (ladish)
5 * Copyright (C) 2010 Nedko Arnaudov <nedko@arnaudov.name>
7 **************************************************************************
8 * This file contains internal declarations used by the room object implementation
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 ROOM_INTERNAL_H__FAF5B68F_E419_442A_8F9B_C729BAC00422__INCLUDED
28 #define ROOM_INTERNAL_H__FAF5B68F_E419_442A_8F9B_C729BAC00422__INCLUDED
32 #define LADISH_PROJECT_FILENAME "/ladish-project.xml"
34 #define ROOM_PROJECT_STATE_UNLOADED 0
35 #define ROOM_PROJECT_STATE_LOADED 1
36 #define ROOM_PROJECT_STATE_UNLOADING_CONNECTIONS 2
37 #define ROOM_PROJECT_STATE_UNLOADING_APPS 3
41 struct list_head siblings
;
46 /* these are not valid for templates */
48 ladish_graph_handle owner
;
51 dbus_object_path dbus_object
;
53 ladish_graph_handle graph
;
54 ladish_app_supervisor_handle app_supervisor
;
55 ladish_client_handle client
;
58 unsigned int project_state
;
62 char * project_description
;
66 void ladish_room_emit_project_properties_changed(struct ladish_room
* room_ptr
);
67 void ladish_room_clear_project(struct ladish_room
* room_ptr
);
69 #endif /* #ifndef ROOM_INTERNAL_H__FAF5B68F_E419_442A_8F9B_C729BAC00422__INCLUDED */