• Main Page
  • Related Pages
  • Classes
  • Files
  • File List
  • File Members

mimenginehwrinterface.h

Go to the documentation of this file.
00001 /* This file is part of meegoimengine *
00002  *
00003  * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
00004  * All rights reserved.
00005  * Contact: Nokia Corporation (directui@nokia.com)
00006  *
00007  * If you have questions regarding the use of this file, please contact
00008  * Nokia at directui@nokia.com.
00009  *
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License version 2.1 as published by the Free Software Foundation
00013  * and appearing in the file LICENSE.LGPL included in the packaging
00014  * of this file.
00015  */
00016 
00017 #ifndef MIMENGINEHWRINTERFACE_H
00018 #define MIMENGINEHWRINTERFACE_H
00019 
00020 #include "mimenginetypes.h"
00021 #include <QString>
00022 #include <QtPlugin>
00023 #include <QSize>
00024 #include <QPoint>
00025 
00026 class QStringList;
00027 
00033 class MImEngineHwrInterface
00034 {
00035 public:
00039     MImEngineHwrInterface();
00040 
00044     virtual ~MImEngineHwrInterface();
00045 
00050     virtual bool init(void) = 0;
00051 
00056     virtual void setAreaSize(QSize size) = 0;
00057 
00062     virtual QSize areaSize() = 0;
00063 
00069     virtual void setScreenSize(QSize size) = 0;
00070 
00075     virtual QSize screenSize() = 0;
00076 
00082     virtual bool setScripts(const QStringList scripts) = 0;
00083 
00088     virtual QStringList scripts() = 0;
00089 
00094     virtual QStringList recognize() = 0;
00095 
00100     virtual void appendStroke(const QList<QPoint> stroke) = 0;
00101 
00105     virtual void clear() = 0;
00106 
00112     virtual QString error() = 0;
00113 
00119     virtual void train(const QString &string) = 0;
00120 
00126     virtual QString driver() = 0;
00127 };
00128 
00129 Q_DECLARE_INTERFACE(MImEngineHwrInterface,
00130                     "com.meego.MImEngineHwrInterface/0.1")
00131 
00132 
00133 #endif // MIMENGINEHWRINTERFACE_H
00134 

Generated on Tue Jun 7 2011 17:01:18 for MeegoTouchFramework:InputMethodEngineAbstraction by  doxygen 1.7.1