FrmCrsCmraF.h 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. //---------------------------------------------------------------------------
  2. #ifndef FrmCrsCmraFH
  3. #define FrmCrsCmraFH
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include "AcesTechXPlayer2Lib_OCX.h"
  10. #include <ExtCtrls.hpp>
  11. #include <OleCtrls.hpp>
  12. #include "FFBaseComponent.hpp"
  13. #include "FFBasePlay.hpp"
  14. #include "FFPlay.hpp"
  15. //---------------------------------------------------------------------------
  16. //---------------------------------------------------------------------------
  17. #include "CDSObjectF.h"
  18. #include "CDSCrossF.h"
  19. #include "dxSkinMcSkin.hpp"
  20. #include <Menus.hpp>
  21. //---------------------------------------------------------------------------
  22. #define FFPLAY 0
  23. #define ACES 1
  24. //---------------------------------------------------------------------------
  25. class TFrmCrsCamra : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TPanel *PnlStream;
  29. TPanel *PnlTitle;
  30. TAcesTechXPlayer2 *AcesTechXPlayer2;
  31. TTimer *Timer1;
  32. TFFPlayer *FFPlayer;
  33. TPopupMenu *PopupMenu1;
  34. TMenuItem *MnuConnect;
  35. TMenuItem *MnuDisconnect;
  36. void __fastcall FormClose(TObject *Sender, TCloseAction &Action);
  37. void __fastcall FormDestroy(TObject *Sender);
  38. void __fastcall FFPlayerState(TObject *Sender, TPlayState APlayState);
  39. void __fastcall Timer1Timer(TObject *Sender);
  40. void __fastcall FormShow(TObject *Sender);
  41. private: // User declarations
  42. public:
  43. bool FPlay;
  44. TCrossCam *FCmra;
  45. long FConHandle;
  46. void __fastcall Connect();
  47. void __fastcall Disconnect();
  48. public: // User declarations
  49. __fastcall TFrmCrsCamra(TComponent* Owner, TCrossCam *ACmra);
  50. };
  51. //---------------------------------------------------------------------------
  52. //extern PACKAGE TFrmCrsCamra *FrmCrsCamra;
  53. //---------------------------------------------------------------------------
  54. #endif