|
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <Dialogs.hpp>
//---------------------------------------------------------------------------
#include "Phone.h"
#include "ABitmap.h"
#include "phn_mdl.h"
#include "Capture.h"
class TForm1 : public TForm
{
__published: // IDE-managed Components
TImage *Image1;
TButton *Button1;
TListBox *ListBox1;
TBitBtn *BitBtn1;
TButton *Button2;
TPanel *Panel1;
TPanel *Panel2;
TButton *Button3;
TButton *Button4;
TButton *Button5;
TSaveDialog *SaveDialog1;
TButton *Button6;
TImage *Image2;
TTimer *Timer1;
void __fastcall FormActivate(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
void __fastcall BitBtn1Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
void __fastcall Button4Click(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall Button5Click(TObject *Sender);
void __fastcall Button6Click(TObject *Sender);
private: // User declarations
RECT GetPhoneDispRect( int Width, int Height, int Border );
public: // User declarations
__fastcall TForm1(TComponent* Owner);
MYBITMAP* pABit;
MYPHONE* pAPhn;
PHONECLASS gPhone; //
SIZE GetPhoneDispSize( int Width, int Height, int Border );
void PlayMsg(AnsiString& msg, bool clr);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
다음과 같은 파일에서
too many types in declaration error..
가 납니다,, 이유가 뭔지 모르겠네요..
부탁드리겠습니다.
|