//---------------------------------------------------------------------------

#ifndef FrmCrsStreamPlayerFH
#define FrmCrsStreamPlayerFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <OleCtrls.hpp>
#include <ADODB.hpp>
#include <DB.hpp>
#include <Menus.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxGraphics.hpp"
#include "cxLabel.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinBlue.hpp"
#include "dxSkinsCore.hpp"
//---------------------------------------------------------------------------
#include "CDSObjectF.h"
#include "CDSCrossF.h"
#include "dxSkinMcSkin.hpp"
#include "FRAME_CameraF.h"
//---------------------------------------------------------------------------

class TFrmCrsStreamPlayer : public TForm
{
__published:	// IDE-managed Components
    TPanel *Panel1;
    TPanel *PnlBlob;
    TImage *ImgBlob;
    TcxLabel *lblErr1;
    TcxLabel *lblErr2;
    TcxLabel *lblErr3;
    TcxLabel *lblErr4;
    TcxLabel *lblErr5;
    TcxLabel *lblErr6;
    TcxLabel *cxLabel1;
    TcxLabel *cxLabel2;
    TTimer *Timer1;
    TTimer *Timer3;
    TGridPanel *GridPanel1;
    TPanel *PnlCrs;
    TPanel *PnlCrsTitle;
    TFRAMECamera *FRAMECamera8;
    TFRAMECamera *FRAMECamera1;
    TFRAMECamera *FRAMECamera5;
    TFRAMECamera *FRAMECamera4;
    TFRAMECamera *FRAMECamera2;
    TFRAMECamera *FRAMECamera7;
    TFRAMECamera *FRAMECamera3;
    TFRAMECamera *FRAMECamera6;
    void __fastcall FormShow(TObject *Sender);
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormDestroy(TObject *Sender);
private:	// User declarations

    bool    FPlay;
    bool    FDispBlob;
    HWND    FWnd;
public:		// User declarations

    bool    FFullScreen;
    TRect   FLastBounds;
    TWinControl *FParent;

    TCross *FCross;
    TObjectList *FFormList;

    bool    FAutoPlay;

    void __fastcall ClearFormList();

    __fastcall TFrmCrsStreamPlayer(TComponent* Owner, TCross *ACrossObj);
};
//---------------------------------------------------------------------------
//extern PACKAGE TFrmCrsStreamPlayer *FrmCrsStreamPlayer;
//---------------------------------------------------------------------------
#endif

