//---------------------------------------------------------------------------
#ifndef ServerH
#define ServerH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ComCtrls.hpp>
#include <ScktComp.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published:	// IDE-managed Components
    TPageControl *PageControl1;
    TTabSheet *Configuration;
    TTabSheet *Status;
    TProgressBar *ProgressBar1;
    TLabel *Label1;
    TLabel *Label2;
    TEdit *NumCC;
    TGroupBox *GroupBox1;
    TTrackBar *PriorityBar;
    TLabel *Label3;
    TLabel *Label4;
    TLabel *Label5;
    TButton *MinButton;
    TServerSocket *ServerSocket;
    void __fastcall MinButtonClick(TObject *Sender);
    void __fastcall ServerSocketGetThread(TObject *Sender,
          TServerClientWinSocket *ClientSocket,
          TServerClientThread *&SocketThread);
    void __fastcall FormCreate(TObject *Sender);
    void __fastcall PriorityBarChange(TObject *Sender);
private:	// User declarations
public:		// User declarations

    __fastcall TForm1(TComponent* Owner);
    int Priority; // Value from 1 to 7.
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif
