File "Configuration.h"
Full Path: /home/analogde/www/PIC18F452/Configuration.h
File size: 4.82 KB
MIME-type: text/x-c++
Charset: 8 bit
/**********************************************************************/
/* */
/* File name: Configuration.h */
/* */
/* Since: 2002/12/03 */
/* */
/* Version: 1.0 */
/* */
/* Author: MONTAGNE Xavier [XM] {link xavier.montagne@wanadoo.fr} */
/* */
/* Purpose: Manage the Configuration Window to program easily the */
/* the configuration fields of the PIC18. */
/* */
/* Distribution: This file is part of PP18. */
/* PP18 is free software; you can redistribute it */
/* and/or modify it under the terms of the GNU General */
/* Public License as published by the Free Software */
/* Foundation; either version 2, or (at your option) */
/* any later version. */
/* */
/* PP18 is distributed in the hope that it will be */
/* useful, but WITHOUT ANY WARRANTY; without even the */
/* implied warranty of MERCHANTABILITY or FITNESS FOR A */
/* PARTICULAR PURPOSE. See the GNU General Public */
/* License for more details. */
/* */
/* You should have received a copy of the GNU General */
/* Public License along with PP18; see the file */
/* COPYING.txt. If not, write to the Free Software */
/* Foundation, 59 Temple Place - Suite 330, */
/* Boston, MA 02111-1307, USA. */
/* */
/* History: */
/* 2002/12/03 [XM] Create this file */
/* */
/**********************************************************************/
#ifndef __Configuration_H__
#define __Configuration_H__
/***********************************************************************
* INCLUDES
**********************************************************************/
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Buttons.hpp>
#include <ExtCtrls.hpp>
/***********************************************************************
* TConfigWindow object definition.
**********************************************************************/
class TConfigWindow : public TForm
{
__published: // Composants grs par l'EDI
TButton *Button1;
TPanel *Panel1;
TImage *Image1;
TStaticText *StaticText1;
TBitBtn *ButtonCancel;
TBitBtn *ButtonOK;
TStaticText *StaticText2;
TStaticText *StaticText3;
TComboBox *ComboBox_OSC;
TStaticText *StaticText4;
TStaticText *StaticText5;
TComboBox *ComboBox_BORV;
TStaticText *StaticText6;
TCheckBox *CB_OSCSwitch;
TCheckBox *CB_PowerUp;
TCheckBox *CB_BrownOut;
TStaticText *StaticText7;
TCheckBox *CB_WatchDog;
TStaticText *StaticText8;
TComboBox *ComboBox_CCP2MX;
TStaticText *StaticText9;
TCheckBox *CB_StackFull;
TStaticText *StaticText10;
TCheckBox *CB_LVP;
TStaticText *StaticText11;
TCheckBox *CB_Debug;
TStaticText *StaticText12;
TComboBox *ComboBox_CPP;
TStaticText *StaticText13;
TComboBox *ComboBox_WRT;
TStaticText *StaticText14;
TComboBox *ComboBox_ETBR;
TComboBox *ComboBox_WDTPS;
TBitBtn *BB_Unlock;
TBitBtn *BB_Lock;
void __fastcall ButtonCancelClick(TObject *Sender);
void __fastcall ButtonOKClick(TObject *Sender);
void __fastcall FormShow(TObject *Sender);
void __fastcall CB_BrownOutClick(TObject *Sender);
void __fastcall CB_WatchDogClick(TObject *Sender);
void __fastcall CB_LVPClick(TObject *Sender);
void __fastcall CB_StackFullClick(TObject *Sender);
void __fastcall BB_UnlockClick(TObject *Sender);
void __fastcall BB_LockClick(TObject *Sender);
private: // Dclarations de l'utilisateur
public: // Dclarations de l'utilisateur
__fastcall TConfigWindow(TComponent* Owner);
};
extern PACKAGE TConfigWindow *ConfigWindow;
#endif /* __Configuration_H__ */