aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/cursornavigationalgorithm.h
blob: 0c262c1af8ac74f1273b6d5caaa809bfd013869e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef CURSORNAVIGATIONALGORITHM_H
#define CURSORNAVIGATIONALGORITHM_H

#include <QList>
#include "inputtypes.h"

class CursorNavigationAttached;

class CursorNavigationAlgorithm
{
public:
    CursorNavigationAlgorithm();

    virtual ~CursorNavigationAlgorithm();

    virtual CursorNavigationAttached* getNextCandidate(
                            const QList<CursorNavigationAttached*> &candidates,
                            const CursorNavigationAttached *currentItem,
                            const CursorNavigationCommand& cmd) = 0;

};

#endif // CURSORNAVIGATIONALGORITHM_H