Quit when requested from the menu
[ladish.git] / dbus / types.h
blob9bd585cc2cc30c0e01bebf03c51e4d9d36c0977f
1 /* -*- Mode: C ; c-basic-offset: 2 -*- */
2 /*
3 * LADI Session Handler (ladish)
5 * Copyright (C) 2008 Juuso Alasuutari <juuso.alasuutari@gmail.com>
7 **************************************************************************
8 * This file contains typdefs for internal structs (obsolete)
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 __LASH_DBUS_TYPES_H__
28 #define __LASH_DBUS_TYPES_H__
30 #include <stdbool.h>
32 /* signal types */
33 typedef struct _signal_msg signal_msg_t;
34 typedef struct _signal_arg signal_arg_t;
35 typedef struct _signal signal_t;
37 /* method types */
38 typedef struct _method_msg method_msg_t;
39 typedef struct _method_call method_call_t;
40 typedef struct _method_arg method_arg_t;
41 typedef struct _method method_t;
42 typedef void (*method_handler_t) (method_call_t *call);
44 /* interface types */
45 typedef struct _interface interface_t;
46 typedef bool (*interface_handler_t) (const interface_t *, method_call_t *);
48 /* object path types */
49 typedef struct _object_path object_path_t;
51 /* service types */
52 typedef struct _service service_t;
54 #endif /* __LASH_DBUS_TYPES_H__ */