~sil2100/ubuntu-keyboard/preedit_state_fix

« back to all changes in this revision

Viewing changes to plugins/ru/src/russianplugin.h

language features + backends go into plugins
.

Approved by Bill Filler, PS Jenkins bot, Thomas Moenicke.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef RUSSIANPLUGIN_H
 
2
#define RUSSIANPLUGIN_H
 
3
 
 
4
#include <QObject>
 
5
#include "languageplugininterface.h"
 
6
#include "westernlanguagesplugin.h"
 
7
 
 
8
class RussianPlugin : public QObject, public WesternLanguagesPlugin
 
9
{
 
10
    Q_OBJECT
 
11
    Q_INTERFACES(LanguagePluginInterface)
 
12
    Q_PLUGIN_METADATA(IID "org.qt-project.Qt.Examples.RussianPlugin" FILE "russianplugin.json")
 
13
 
 
14
public:
 
15
    explicit RussianPlugin(QObject* parent = 0)
 
16
        : QObject(parent)
 
17
        , WesternLanguagesPlugin()
 
18
    {
 
19
        _useDatabase("ru");
 
20
    }
 
21
 
 
22
    virtual ~RussianPlugin()
 
23
    {
 
24
    }
 
25
};
 
26
 
 
27
#endif // RUSSIANPLUGIN_H