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

« back to all changes in this revision

Viewing changes to src/mindicatorserviceclient.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 MINDICATORSERVICECLIENT_H
16
 
#define MINDICATORSERVICECLIENT_H
17
 
 
18
 
#include <maliit/namespace.h>
19
 
 
20
 
/*! \internal
21
 
 * \ingroup maliitserver
22
 
 * \brief Provides interface for setting the system keyboard indicator state.
23
 
 * The indicator should be mainly used by plugins controlling a hardware
24
 
 * keyboard, so that the state of the hardware keyboard can be shown on the
25
 
 * display.
26
 
 */
27
 
class MIndicatorServiceClient
28
 
{
29
 
public:
30
 
    //! \brief Constructs a MIndicatorServiceClient which does not do anything
31
 
    MIndicatorServiceClient();
32
 
    virtual ~MIndicatorServiceClient();
33
 
 
34
 
    //! \brief Set the indicator to \a mode.
35
 
    //! Subclasses should override this function to show/hide an indicator
36
 
    //! according to \a mode. When \a mode is Maliit::NoIndicator the indicator
37
 
    //! should be hidden. Else an indicator representing \a mode as an icon or
38
 
    //! text should be shown.
39
 
    virtual void setInputModeIndicator(Maliit::InputModeIndicator mode);
40
 
 
41
 
private:
42
 
    Q_DISABLE_COPY(MIndicatorServiceClient)
43
 
};
44
 
//! \internal_end
45
 
 
46
 
#endif // MINDICATORSERVICECLIENT_H