1
/* * This file is part of Maliit framework *
3
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
6
* Contact: maliit-discuss@lists.maliit.org
8
* This library is free software; you can redistribute it and/or
9
* modify it under the terms of the GNU Lesser General Public
10
* License version 2.1 as published by the Free Software Foundation
11
* and appearing in the file LICENSE.LGPL included in the packaging
15
#ifndef MDBUSGLIBINPUTCONTEXTADAPTOR_H
16
#define MDBUSGLIBINPUTCONTEXTADAPTOR_H
18
#include <glib-object.h>
20
class MImServerConnection;
22
//! \brief Glib D-Bus version of an adaptor that exposes MInputContext interface
24
struct MDBusGlibInputContextAdaptor
27
MImServerConnection *imServerConnection;
30
//! \brief MDBusGlibInputContextAdaptor metaclass
31
struct MDBusGlibInputContextAdaptorClass
36
#define M_TYPE_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR (m_dbus_glib_input_context_adaptor_get_type())
37
#define M_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR(object) (G_TYPE_CHECK_INSTANCE_CAST((object), M_TYPE_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR, MDBusGlibInputContextAdaptor))
38
#define M_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), M_TYPE_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR, MDBusGlibInputContextAdaptorClass))
39
#define M_IS_M_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR(object) (G_TYPE_CHECK_INSTANCE_TYPE((object), M_TYPE_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR))
40
#define M_IS_M_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), M_TYPE_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR))
41
#define M_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), M_TYPE_DBUS_GLIB_INPUT_CONTEXT_ADAPTOR, MDBusGlibInputContextAdaptorClass))
44
GType m_dbus_glib_input_context_adaptor_get_type(void);