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

#ifndef FrameStreamingAcesFH
#define FrameStreamingAcesFH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "cxButtons.hpp"
#include "cxGraphics.hpp"
#include "cxLookAndFeelPainters.hpp"
#include "cxLookAndFeels.hpp"
#include "dxSkinBlack.hpp"
#include "dxSkinMcSkin.hpp"
#include "dxSkinsCore.hpp"
#include "ImageBtn.h"
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <Graphics.hpp>
#include <Menus.hpp>
#include "cxContainer.hpp"
#include "cxControls.hpp"
#include "cxEdit.hpp"
#include "cxLabel.hpp"
#include "AcesTechXPlayer2Lib_OCX.h"
#include <OleCtrls.hpp>
#include "IdBaseComponent.hpp"
#include "IdComponent.hpp"
#include "IdHTTP.hpp"
#include "IdTCPClient.hpp"
#include "IdTCPConnection.hpp"
#include "IdAuthenticationDigest.hpp"
#include "cxTextEdit.hpp"   /* idhttp 권한 설정을 위해 필요함 */

//---------------------------------------------------------------------------
class TFrameStreamingAces : public TFrame
{
__published:	// IDE-managed Components
    TPanel *PnlBack;
    TPanel *PnlStreamInfo;
    TPanel *PnlCameraBack;
    TcxLabel *cxLabel1;
    TcxButton *BtnCameraConDisconn;
    TPanel *PnlCamera;
    TcxLabel *LblErrMsg;
    TAcesTechXPlayer2 *AcesTechXPlayer21;
    TcxTextEdit *EdStreamUrl;
    void __fastcall BtnCameraConDisconnClick(TObject *Sender);
private:	// User declarations

    bool   FStrmPlay;
    String FStrmUser;
    String FStrmPswd;
    String FStrmUrl;
    String FStrmHttp;
    String FStrmAddr;
    long   FStrmHandle;

public:
    void __fastcall OpenStream();
    void __fastcall CloseStream();

public:		// User declarations
    __fastcall TFrameStreamingAces(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TFrameStreamingAces *FrameStreamingAces;
//---------------------------------------------------------------------------
#endif
