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

dummydriver_hwr.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 DUMMYDRIVER_H
00018 #define DUMMYDRIVER_H
00019 
00020 #include <mimenginetypes.h>
00021 #include <mimenginehwrinterface.h>
00022 #include <QString>
00023 #include <QStringList>
00024 #include <QObject>
00025 
00026 class MImEngineHwr;
00027 
00033 class DummyDriverHwr: public QObject, public MImEngineHwrInterface
00034 {
00035     Q_OBJECT
00036     Q_DISABLE_COPY(DummyDriverHwr)
00037     Q_INTERFACES(MImEngineHwrInterface)
00038 
00039 
00040 public:
00044     DummyDriverHwr();
00045 
00049     ~DummyDriverHwr();
00050 
00054     virtual bool init(void) ;
00055    
00056     virtual void setAreaSize(QSize size) ;
00057   
00058     virtual QSize areaSize() ;
00059    
00060     virtual void setScreenSize(QSize size) ;
00061  
00062     virtual QSize screenSize() ;
00063  
00064     virtual bool setScripts(const QStringList scripts);
00065     
00066     virtual QStringList scripts();
00067   
00068     virtual QStringList recognize();
00069     
00070     virtual void appendStroke(const QList<QPoint> stroke) ;
00071   
00072     virtual void clear();
00073   
00074     virtual QString error() ;
00075 
00076     virtual void train(const QString& string) ;
00077   
00078     virtual QString driver() ;
00079 
00084 private:
00085     
00086 };
00087 #endif //DUMMYDRIVER_H

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