//---------------------------------------------------------------------------
#ifndef Demo_H
#define Demo_H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "RControl.hpp"
#include <ComCtrls.hpp>
#include <Menus.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// Composants gérés par l'EDI
        TMemo *Memo1;
        TEdit *Edit1;
        TRemoteControl *RemoteControl1;
        TMainMenu *MainMenu1;
        TMenuItem *File1;
        TMenuItem *Exit1;
        TCheckBox *CheckBox1;
        void __fastcall FormCreate(TObject *Sender);
        void __fastcall FormShow(TObject *Sender);
        void __fastcall Exit1Click(TObject *Sender);
        void __fastcall RemoteControl1Receive(TObject *Sender,
          int DeviceId, TRCButtonId ButtonId, AnsiString ButtonName,
          TRCButtonState ButtonState, int ButtonRepeatCount);
        void __fastcall CheckBox1Click(TObject *Sender);
private:
        void __fastcall TForm1::RefreshDeviceStatus (void);
public:
        __fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
