2009-07-29 21:08:27 +03:00
|
|
|
/* -*- Mode: C ; c-basic-offset: 2 -*- */
|
2008-09-07 01:48:05 +03:00
|
|
|
/*
|
2009-07-29 21:08:27 +03:00
|
|
|
* LADI Session Handler (ladish)
|
2008-09-07 01:48:05 +03:00
|
|
|
*
|
2010-01-27 18:24:47 +02:00
|
|
|
* Copyright (C) 2008, 2009, 2010 Nedko Arnaudov <nedko@arnaudov.name>
|
2009-07-29 21:08:27 +03:00
|
|
|
* Copyright (C) 2008 Juuso Alasuutari <juuso.alasuutari@gmail.com>
|
2008-09-07 01:48:05 +03:00
|
|
|
*
|
2009-07-29 21:08:27 +03:00
|
|
|
**************************************************************************
|
|
|
|
* This file contains interface to the D-Bus control interface helpers
|
|
|
|
**************************************************************************
|
2008-09-07 01:48:05 +03:00
|
|
|
*
|
2009-07-29 21:08:27 +03:00
|
|
|
* LADI Session Handler is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
2008-09-07 01:48:05 +03:00
|
|
|
*
|
2009-07-29 21:08:27 +03:00
|
|
|
* LADI Session Handler is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with LADI Session Handler. If not, see <http://www.gnu.org/licenses/>
|
|
|
|
* or write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
2008-09-07 01:48:05 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LASHD_DBUS_IFACE_CONTROL_H__
|
|
|
|
#define __LASHD_DBUS_IFACE_CONTROL_H__
|
|
|
|
|
2010-03-01 02:12:12 +02:00
|
|
|
#include "room.h"
|
|
|
|
|
2009-09-05 18:18:07 +03:00
|
|
|
extern const struct dbus_interface_descriptor g_lashd_interface_control;
|
2008-09-07 01:48:05 +03:00
|
|
|
|
2009-12-17 07:41:57 +02:00
|
|
|
void emit_studio_appeared(void);
|
|
|
|
void emit_studio_disappeared(void);
|
2010-07-28 17:58:49 +03:00
|
|
|
void emit_queue_execution_halted(void);
|
2009-12-17 07:41:57 +02:00
|
|
|
void emit_clean_exit(void);
|
2009-08-01 19:24:00 +03:00
|
|
|
|
2010-03-23 01:11:02 +02:00
|
|
|
bool room_templates_init(void);
|
|
|
|
void room_templates_uninit(void);
|
2010-03-01 02:12:12 +02:00
|
|
|
ladish_room_handle find_room_template_by_name(const char * name);
|
|
|
|
ladish_room_handle find_room_template_by_uuid(const uuid_t uuid_ptr);
|
2010-01-27 18:24:47 +02:00
|
|
|
|
2008-09-07 01:48:05 +03:00
|
|
|
#endif /* __LASHD_DBUS_IFACE_CONTROL_H__ */
|