/usr/include/maliit/server/mimserver.h is in maliit-framework-dev 0.99.0+git20130615+97e8335-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | /* * This file is part of Maliit framework *
*
* Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
*
* Contact: maliit-discuss@lists.maliit.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1 as published by the Free Software Foundation
* and appearing in the file LICENSE.LGPL included in the packaging
* of this file.
*/
#ifndef MIMSERVER_H
#define MIMSERVER_H
#include <QObject>
#include <QSharedPointer>
class MInputContextConnection;
class MImServerPrivate;
namespace Maliit
{
class AbstractPlatform;
} // namespace Maliit
/* MImServer: The Maliit Input Method Server
*
* Consumers of MImServer are responsible for creating a QApplication (for the mainloop),
* and an MInputContextConnection for communication with clients, and for starting the mainloop.
* Everything else is handled by the server.
*/
class MImServer : public QObject
{
Q_OBJECT
public:
enum SettingsType {
TemporarySettings,
PersistentSettings
};
public:
explicit MImServer(const QSharedPointer<MInputContextConnection> &icConnection,
const QSharedPointer<Maliit::AbstractPlatform> &platform,
QObject *parent = 0);
~MImServer();
static void configureSettings(MImServer::SettingsType settingsType);
private:
Q_DISABLE_COPY(MImServer)
Q_DECLARE_PRIVATE(MImServer)
const QScopedPointer<MImServerPrivate> d_ptr;
};
#endif // MIMSERVER_H
|