Browse Subversion Repository
Contents of /branches/FeliCa2Money-1/Convert.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: 1268 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 _CONVERT_H |
| 22 |
#define _CONVERT_H |
| 23 |
|
| 24 |
#include <iostream> |
| 25 |
#include <fstream> |
| 26 |
#include <iomanip> |
| 27 |
|
| 28 |
using namespace std; |
| 29 |
typedef basic_ofstream<char> ofstream; |
| 30 |
|
| 31 |
#include "Transaction.h" |
| 32 |
#include "Card.h" |
| 33 |
|
| 34 |
/** |
| 35 |
@brief Ro[^ |
| 36 |
*/ |
| 37 |
class Converter { |
| 38 |
public: |
| 39 |
void Convert(Card *c, AnsiString ofxfile); |
| 40 |
|
| 41 |
private: |
| 42 |
Card *card; |
| 43 |
|
| 44 |
void WriteOfx(ofstream &ofs); |
| 45 |
|
| 46 |
AnsiString dateStr(const DateTime &dt); |
| 47 |
AnsiString transIdStr(const Transaction *t); |
| 48 |
}; |
| 49 |
#endif // _CONVERT_H |
| 50 |
|
Properties
| svn:eol-style |
native
|
| svn:keywords |
Author Date Id Revision
|
|