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

#ifndef FrmCrsCmraFH
#define FrmCrsCmraFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "AcesTechXPlayer2Lib_OCX.h"
#include <ExtCtrls.hpp>
#include <OleCtrls.hpp>
#include "FFBaseComponent.hpp"
#include "FFBasePlay.hpp"
#include "FFPlay.hpp"
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
#include "CDSObjectF.h"
#include "CDSCrossF.h"
#include "dxSkinMcSkin.hpp"
#include <Menus.hpp>
//---------------------------------------------------------------------------

#define FFPLAY  0
#define ACES    1
//---------------------------------------------------------------------------
class TFrmCrsCamra : public TForm
{
__published:	// IDE-managed Components
    TPanel *PnlStream;
    TPanel *PnlTitle;
    TAcesTechXPlayer2 *AcesTechXPlayer2;
    TTimer *Timer1;
    TFFPlayer *FFPlayer;
    TPopupMenu *PopupMenu1;
    TMenuItem *MnuConnect;
    TMenuItem *MnuDisconnect;
    void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
    void __fastcall FormDestroy(TObject *Sender);
    void __fastcall FFPlayerState(TObject *Sender, TPlayState APlayState);
    void __fastcall Timer1Timer(TObject *Sender);
    void __fastcall FormShow(TObject *Sender);
private:	// User declarations

public:
    bool        FPlay;
    TCrossCam  *FCmra;
    long        FConHandle;

    void __fastcall Connect();
    void __fastcall Disconnect();

public:		// User declarations
    __fastcall TFrmCrsCamra(TComponent* Owner, TCrossCam *ACmra);
};
//---------------------------------------------------------------------------
//extern PACKAGE TFrmCrsCamra *FrmCrsCamra;
//---------------------------------------------------------------------------
#endif
