2 This file is part of MagRead.
4 MagRead is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 3 of the License, or
7 (at your option) any later version.
9 MagRead is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with MagRead. If not, see <http://www.gnu.org/licenses/>.
17 Written by Jeffrey Malone <ieatlint@tehinterweb.com>
18 http://blog.tehinterweb.com
23 #include <QtGui/QMainWindow>
24 #include <QGridLayout>
27 #include <QPushButton>
30 #include <QScrollArea>
34 #include <QMaemo5InformationBox>
36 #include "carddetect.h"
37 #include "audioinput.h"
41 class MagRead : public QMainWindow {
45 MagRead( QWidget *parent = 0 );
49 CardDetect cardDetect;
50 AudioInput audioInput;
58 void miscPage( bool partial = false );
61 void cardRead( const MagCard _card );
62 void maemoNotice( QString msg, int msec );
63 void audioInputError( const QString msg );
65 void togglePartialRead( bool _partialRead );