~timo-jyrinki/ubuntu/trusty/maliit-framework/fix_qt52

« back to all changes in this revision

Viewing changes to connection/glibdbusimserverproxy_p.h

  • Committer: Package Import Robot
  • Author(s): Ricardo Salveti de Araujo, Sergio Schvezov, Ricardo Salveti de Araujo
  • Date: 2013-07-23 19:47:04 UTC
  • mfrom: (1.1.2) (1.2.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130723194704-1lsy1kmlda069cea
Tags: 0.99.0+git20130615+97e8335-0ubuntu1
[ Sergio Schvezov ]
* New build from HEAD 97e8335.
* Packaging import from lp:phablet-extras/maliit-framework.

[ Ricardo Salveti de Araujo ]
* debian/control: adding vcs and fixing dependencies
* General package cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* * This file is part of Maliit framework *
2
 
 *
3
 
 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4
 
 * All rights reserved.
5
 
 *
6
 
 * Contact: maliit-discuss@lists.maliit.org
7
 
 *
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
12
 
 * of this file.
13
 
 */
14
 
 
15
 
#ifndef GLIBDBUSIMSERVERPROXY_P_H
16
 
#define GLIBDBUSIMSERVERPROXY_P_H
17
 
 
18
 
#include <QSet>
19
 
#include <QSharedPointer>
20
 
#include <dbus/dbus-glib.h>
21
 
 
22
 
#include <tr1/memory>
23
 
 
24
 
#include "inputcontextdbusaddress.h"
25
 
 
26
 
namespace Maliit
27
 
{
28
 
    namespace DBusGLib
29
 
    {
30
 
    // std::tr1::shared_ptr allows to specify a deleter. Hiding it behind a typedef,
31
 
    // as we do not really need all the shared pointer semantics here.
32
 
    typedef std::tr1::shared_ptr<DBusGConnection> ConnectionRef;
33
 
    }
34
 
}
35
 
 
36
 
class GlibDBusIMServerProxyPrivate
37
 
{
38
 
 
39
 
public:
40
 
    GlibDBusIMServerProxyPrivate(const QSharedPointer<Maliit::InputContext::DBus::Address> &address);
41
 
    ~GlibDBusIMServerProxyPrivate();
42
 
 
43
 
public:
44
 
    void resetNotify(DBusGProxy *proxy, DBusGProxyCall *callId);
45
 
 
46
 
public:
47
 
    DBusGProxy *glibObjectProxy;
48
 
    Maliit::DBusGLib::ConnectionRef connection;
49
 
    GObject *inputContextAdaptor;
50
 
    bool active;
51
 
    QSet<DBusGProxyCall *> pendingResetCalls;
52
 
    const QSharedPointer<Maliit::InputContext::DBus::Address> mAddress;
53
 
};
54
 
 
55
 
 
56
 
 
57
 
#endif // GLIBDBUSIMSERVERPROXY_P_H