summaryrefslogtreecommitdiff
path: root/src/sensors/gestures/qsensorgestureplugininterface.cpp
blob: c9e54f777b11dc9f10c248674e6c374ab8bcda8a (plain)
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
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only

#include "qsensorgestureplugininterface.h"

QT_BEGIN_NAMESPACE

/*!
    \class QSensorGesturePluginInterface
    \ingroup  sensorgestures_recognizer
    \inmodule QtSensors

    \brief The QSensorGesturePluginInterface class is the pure virtual interface to sensor gesture
    plugins.

    \since 5.1

    The QSensorGesturePluginInterface class is implemented in sensor gesture plugins to register
    sensor gesture recognizers with QSensorGestureManager.

    \sa {QtSensorGestures Plugins}
*/

/*!
  \fn QSensorGesturePluginInterface::createRecognizers()

  Called by the manager to create the recognizers.
  Plugins should initialize and register their recognizers using
  QSensorGestureManager::registerSensorGestureRecognizer() here.

  \sa QSensorGestureManager
*/

/*!
  \fn QSensorGesturePluginInterface::supportedIds() const

  Returns a list of the recognizer Id's that this plugin supports.
  */


/*!
  \fn QSensorGesturePluginInterface::name() const

  Returns this plugins name.
  */

/*!
    Construct the QSensorGesturePluginInterface.
*/
QSensorGesturePluginInterface::QSensorGesturePluginInterface()
{
}

/*!
    Destroy the QSensorGesturePluginInterface.
*/
QSensorGesturePluginInterface::~QSensorGesturePluginInterface()
{
}

QT_END_NAMESPACE