| 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 |
|
| 22 |
#ifndef MainFormH |
| 23 |
#define MainFormH |
| 24 |
//--------------------------------------------------------------------------- |
| 25 |
#include <Classes.hpp> |
| 26 |
#include <Controls.hpp> |
| 27 |
#include <StdCtrls.hpp> |
| 28 |
#include <Forms.hpp> |
| 29 |
#include <Menus.hpp> |
| 30 |
#include <Dialogs.hpp> |
| 31 |
#include <Grids.hpp> |
| 32 |
#include "Card.h" |
| 33 |
#include <Buttons.hpp> |
| 34 |
|
| 35 |
//--------------------------------------------------------------------------- |
| 36 |
/// ���C���E�B���h�E |
| 37 |
class TMForm : public TForm |
| 38 |
{ |
| 39 |
__published: // IDE �������R���|�[�l���g |
| 40 |
TOpenDialog *OpenDialog; |
| 41 |
TButton *ButtonQuit; |
| 42 |
TButton *ButtonConfig; |
| 43 |
TButton *ButtonHelp; |
| 44 |
TLabel *Label1; |
| 45 |
TLabel *Label2; |
| 46 |
TLabel *Label3; |
| 47 |
TLabel *Label4; |
| 48 |
TBitBtn *BtnConvertEdy; |
| 49 |
TBitBtn *ButtonConvertSuica; |
| 50 |
TBitBtn *BtnConvertNanaco; |
| 51 |
TLabel *Label5; |
| 52 |
void __fastcall ButtonQuitClick(TObject *Sender); |
| 53 |
void __fastcall FormShow(TObject *Sender); |
| 54 |
void __fastcall ButtonHelpClick(TObject *Sender); |
| 55 |
void __fastcall ButtonConfigClick(TObject *Sender); |
| 56 |
void __fastcall ButtonConvertEdyClick(TObject *Sender); |
| 57 |
void __fastcall ButtonConvertSuicaClick(TObject *Sender); |
| 58 |
void __fastcall BtnConvertNanacoClick(TObject *Sender); |
| 59 |
private: |
| 60 |
void doConvert(Card *card); |
| 61 |
void SaveRegistry(void); |
| 62 |
void LoadRegistry(void); |
| 63 |
public: // ���[�U�[���� |
| 64 |
__fastcall TMForm(TComponent* Owner); |
| 65 |
AnsiString SFCPeepPath; |
| 66 |
}; |
| 67 |
//--------------------------------------------------------------------------- |
| 68 |
extern PACKAGE TMForm *MForm; |
| 69 |
//--------------------------------------------------------------------------- |
| 70 |
#endif |