-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathClient.h
57 lines (52 loc) · 1.81 KB
/
Client.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
//---------------------------------------------------------------------------
#ifndef ClientH
#define ClientH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "CurrEdit.hpp"
#include "ToolEdit.hpp"
#include <Mask.hpp>
#include <ScktComp.hpp>
#include "Placemnt.hpp"
#include "CardData.h"
#include <ComCtrls.hpp>
class TDraftPlayer;
//---------------------------------------------------------------------------
class TfmClient : public TForm
{
__published: // IDE-managed Components
TClientSocket *ClientSocket1;
TCurrencyEdit *edPort;
TLabel *Label1;
TLabel *Label2;
TEdit *edHost;
TButton *btGo;
TFormStorage *FormStorage1;
TStatusBar *StatusBar1;
TButton *btCancel;
void __fastcall btGoClick(TObject *Sender);
void __fastcall ClientSocket1Connect(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall ClientSocket1Read(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall ClientSocket1Disconnect(TObject *Sender,
TCustomWinSocket *Socket);
void __fastcall ClientSocket1Error(TObject *Sender,
TCustomWinSocket *Socket, TErrorEvent ErrorEvent,
int &ErrorCode);
private: // User declarations
AnsiString Buffer;
TCardPile Booster;
//TCardPile Picked;
public: // User declarations
TDraftPlayer* Player;
__fastcall TfmClient(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TfmClient *fmClient;
void ClientDraft();
//---------------------------------------------------------------------------
#endif