Browse Subversion Repository
Contents of /branches/FeliCa2Money-1/Suica.h
Parent Directory
| Revision Log
Revision 204 -
( show annotations)
( download)
( as text)
Sun May 18 04:21:26 2008 UTC
(15 years, 10 months ago)
by tmurakam
File MIME type: text/x-chdr
File size: 1176 byte(s)
Move older version (ver 1.x)
| 1 |
/* |
| 2 |
* FeliCa2Money |
| 3 |
* |
| 4 |
* Copyright (C) 2001-2007 Takuya Murakami |
| 5 |
* |
| 6 |
* This program is free software; you can redistribute it and/or modify |
| 7 |
* it under the terms of the GNU General Public License as published by |
| 8 |
* the Free Software Foundation; either version 2 of the License, or |
| 9 |
* (at your option) any later version. |
| 10 |
* |
| 11 |
* This program is distributed in the hope that it will be useful, |
| 12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
* GNU General Public License for more details. |
| 15 |
* |
| 16 |
* You should have received a copy of the GNU General Public License |
| 17 |
* along with this program; if not, write to the Free Software |
| 18 |
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 19 |
*/ |
| 20 |
|
| 21 |
#ifndef _SUICA_H |
| 22 |
#define _SUICA_H |
| 23 |
|
| 24 |
#include "Transaction.h" |
| 25 |
|
| 26 |
class SuicaCard : public CardWithLineParser { |
| 27 |
public: |
| 28 |
SuicaCard(void); |
| 29 |
virtual int ReadCard(void); |
| 30 |
|
| 31 |
private: |
| 32 |
long prevBalance; |
| 33 |
static const UndefBalance = -99999999; |
| 34 |
|
| 35 |
virtual Transaction *GenerateTransaction(int nrows, AnsiString *rows, int *err); |
| 36 |
}; |
| 37 |
|
| 38 |
#endif |
|