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

« back to all changes in this revision

Viewing changes to connection/connectionfactory.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:
15
15
#ifndef MALIIT_DBUS_CONNECTIONFACTORY_H
16
16
#define MALIIT_DBUS_CONNECTIONFACTORY_H
17
17
 
18
 
#include "mimserverconnection.h"
19
18
#include "minputcontextconnection.h"
20
19
 
21
20
namespace Maliit {
22
 
#ifndef MALIIT_DISABLE_DBUS
23
21
namespace DBus {
24
22
 
25
 
MImServerConnection *createServerConnectionWithDynamicAddress();
26
 
MImServerConnection *createServerConnectionWithFixedAddress(const QString &address);
27
 
 
28
23
MInputContextConnection *createInputContextConnectionWithDynamicAddress();
29
24
MInputContextConnection *createInputContextConnectionWithFixedAddress(const QString &fixedAddress, bool allowAnonymous);
30
25
 
31
26
} // namespace DBus
32
 
#endif
33
27
 
34
28
#ifdef HAVE_WAYLAND
35
29
MInputContextConnection *createWestonIMProtocolConnection();
36
30
#endif
37
31
 
38
 
/*!
39
 
    \brief Create a connection to Maliit server
40
 
    \param connectionType input context name (same as in QT_IM_MODULE environment variable)
41
 
 
42
 
    Might return a cached connection.
43
 
 
44
 
    If \a connectionType is "Maliit", and MALIIT_SERVER_ADDRESS environment variable is set,
45
 
    uses its value as the server address.
46
 
*/
47
 
QSharedPointer<MImServerConnection> createServerConnection(const QString &connectionType);
48
 
 
49
32
} // namespace Maliit
50
33
 
51
34
#endif // MALIIT_DBUS_CONNECTIONFACTORY_H