Add french translation to up-to-dating script
[ladish.git] / daemon / room_internal.h
blobf12fafb4cbcb616d8246acf703edbadc316ec3a7
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 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
30 #include "room.h"
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
39 struct ladish_room
41 struct list_head siblings;
42 uuid_t uuid;
43 char * name;
44 bool template;
46 /* these are not valid for templates */
47 uuid_t template_uuid;
48 ladish_graph_handle owner;
49 unsigned int index;
50 char * object_path;
51 dbus_object_path dbus_object;
52 uint64_t version;
53 ladish_graph_handle graph;
54 ladish_app_supervisor_handle app_supervisor;
55 ladish_client_handle client;
56 bool started;
58 unsigned int project_state;
59 uuid_t project_uuid;
60 char * project_dir;
61 char * project_name;
62 char * project_description;
63 char * project_notes;
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 */