-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInterface.h
More file actions
67 lines (58 loc) · 2.02 KB
/
Interface.h
File metadata and controls
67 lines (58 loc) · 2.02 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
// ---------------------------------------------------------------------------
#ifndef InterfaceH
#define InterfaceH
// ---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include <ComCtrls.hpp>
#define OP_TERM (WM_APP+2)
// ---------------------------------------------------------------------------
class TCryptWindow : public TForm {
__published: // IDE-managed Components
TEdit *Path;
TSaveDialog *SD;
TButton *Search;
TGroupBox *GroupBox1;
TGroupBox *GroupBox2;
TEdit *Pwd1;
TEdit *Pwd2;
TLabel *EnterP;
TLabel *ConfirmP;
TLabel *Ident;
TLabel *Finfo;
TRadioButton *Encrypt;
TRadioButton *Decrypt;
TButton *Go;
TOpenDialog *OD;
TComboBox *activeOps;
TLabel *Label1;
void __fastcall SearchClick(TObject *Sender);
void __fastcall Pwd1Change(TObject *Sender);
void __fastcall PathExit(TObject *Sender);
void __fastcall PathKeyPress(TObject *Sender, wchar_t &Key);
void __fastcall GoClick(TObject *Sender);
void __fastcall PathClick(TObject *Sender);
void __fastcall Button1Click(TObject *Sender);
void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
void __fastcall activeOpsDropDown(TObject *Sender);
void __fastcall activeOpsCloseUp(TObject *Sender);
void __fastcall Label1Click(TObject *Sender);
private:
void forkOperation(char* inputFile, char* outputFile, char* pwd, bool mode);
UnicodeString TCryptWindow::shortGoto(UnicodeString in, UnicodeString out,
int prg);
// User declarations
public:
void __fastcall delEntry(TMessage& msg);
// User declarations
__fastcall TCryptWindow(TComponent* Owner);
BEGIN_MESSAGE_MAP VCL_MESSAGE_HANDLER(OP_TERM, TMessage, delEntry);
END_MESSAGE_MAP(TForm)
};
// ---------------------------------------------------------------------------
extern PACKAGE TCryptWindow *CryptWindow;
// ---------------------------------------------------------------------------
#endif