-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPermFrm.h
33 lines (32 loc) · 1.35 KB
/
PermFrm.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//---------------------------------------------------------------------------
#ifndef PermFrmH
#define PermFrmH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
//---------------------------------------------------------------------------
class TPermForm : public TForm
{
__published: // IDE-managed Components
TButton *EveryFourthButton;
TButton *OneBitPerColButton;
TButton *Pattern1122Button;
TButton *Every4ReversedButton;
void __fastcall EveryFourthButtonClick(TObject *Sender);
void __fastcall OneBitPerColButtonClick(TObject *Sender);
void __fastcall Pattern1122ButtonClick(TObject *Sender);
void __fastcall Every4ReversedButtonClick(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TPermForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
unsigned char SetBit(unsigned char Data,int Bit);
unsigned char ClearBit(unsigned char Data,int Bit);
unsigned char GetBit(unsigned char Data,int Bit);
//---------------------------------------------------------------------------
extern PACKAGE TPermForm *PermForm;
//---------------------------------------------------------------------------
#endif