2
* Copyright (C) 2010 Intel Corporation
4
* Author: Raymond Liu <raymond.liu@intel.com>
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public License
8
* version 2.1 as published by the Free Software Foundation.
10
* This library is distributed in the hope that it will be useful, but
11
* WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
* Lesser General Public License for more details.
15
* You should have received a copy of the GNU Lesser General Public
16
* License along with this library; if not, write to the Free Software
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
22
#ifndef _MEEGO_IMCONTEXT_DBUS_H
23
#define _MEEGO_IMCONTEXT_DBUS_H
26
#include <glib-object.h>
31
} MeegoIMContextDbusObj;
35
} MeegoIMContextDbusObjClass;
37
GType meego_imcontext_dbusobj_get_type(void);
39
#define MEEGO_IMCONTEXT_TYPE_DBUSOBJ (meego_imcontext_dbusobj_get_type())
40
#define MEEGO_IMCONTEXT_DBUSOBJ(obj) \
41
(G_TYPE_CHECK_INSTANCE_CAST((obj), MEEGO_IMCONTEXT_TYPE_DBUSOBJ, MeegoIMContextDbusObj))
42
#define MEEGO_IMCONTEXT_DBUSOBJ_CLASS(klass) \
43
(G_TYPE_CHECK_CLASS_CAST((klass), MEEGO_IMCONTEXT_TYPE_DBUSOBJ, MeegoIMContextDbusObjClass))
44
#define MEEGO_IMCONTEXT_IS_DBUSOBJ(obj) \
45
(G_TYPE_CHECK_INSTANCE_TYPE((obj), MEEGO_IMCONTEXT_TYPE_DBUSOBJ))
46
#define MEEGO_IMCONTEXT_IS_DBUSOBJ_CLASS(klass) \
47
(G_TYPE_CHECK_CLASS_TYPE((klass), MEEGO_IMCONTEXT_TYPE_DBUSOBJ))
48
#define MEEGO_IMCONTEXT_DBUSOBJ_GET_CLASS(obj) \
49
(G_TYPE_INSTANCE_GET_CLASS((obj), MEEGO_IMCONTEXT_TYPE_DBUSOBJ, MeegoIMContextDbusObjClass))
52
MeegoIMContextDbusObj *meego_imcontext_dbusobj_new(void);
53
void meego_imcontext_dbusobj_connect(MeegoIMContextDbusObj *obj, gpointer connection);
55
#endif /* _MEEGO_IMCONTEXT_DBUS_H */