home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 2001 July / VPR0107B.BIN / DRIVER / CANOPUS / MVR32 / mvr32.exe / data1.cab / Development_Kit / Vc / Samples / Encode / MainFrm.h < prev    next >
C/C++ Source or Header  |  2001-02-09  |  3KB  |  93 lines

  1. // MainFrm.h : CMainFrame クラスの宣言およびインターフェイスの定義をします。
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CMainFrame : public CFrameWnd
  6. {
  7. protected: // シリアライズ機能のみから作成します。
  8.     CMainFrame();
  9.     DECLARE_DYNCREATE(CMainFrame)
  10.  
  11. // アトリビュート
  12. public:
  13.     void AutoDetect();
  14.     UINT nHeight;
  15.     UINT nWidth;
  16.     BOOL CreateOverlayWindow();
  17.     HWND hWndOverlay;
  18.  
  19. // オペレーション
  20. public:
  21.  
  22. // オーバーライド
  23.     // ClassWizard は仮想関数を生成しオーバーライドします。
  24.     //{{AFX_VIRTUAL(CMainFrame)
  25.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  26.     //}}AFX_VIRTUAL
  27.  
  28. // インプリメンテーション
  29. public:
  30.     virtual ~CMainFrame();
  31. #ifdef _DEBUG
  32.     virtual void AssertValid() const;
  33.     virtual void Dump(CDumpContext& dc) const;
  34. #endif
  35.  
  36. // 生成されたメッセージ マップ関数
  37. protected:
  38.     //{{AFX_MSG(CMainFrame)
  39.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  40.     afx_msg void OnClose();
  41.     afx_msg void OnMove(int x, int y);
  42.     afx_msg void OnSize(UINT nType, int cx, int cy);
  43.     afx_msg void OnSetTime();
  44.     afx_msg void OnSetAudioParam();
  45.     afx_msg void OnSetVideoParam();
  46.     afx_msg void OnSetVideoEncParam();
  47.     afx_msg void OnSetAudioEncParam();
  48.     afx_msg void OnEncAudio();
  49.     afx_msg void OnEncVideo();
  50.     afx_msg void OnEncAv();
  51.     afx_msg void OnEncProgram();
  52.     afx_msg void OnUpdateEncAudio(CCmdUI* pCmdUI);
  53.     afx_msg void OnUpdateEncVideo(CCmdUI* pCmdUI);
  54.     afx_msg void OnUpdateEncAv(CCmdUI* pCmdUI);
  55.     afx_msg void OnUpdateEncProgram(CCmdUI* pCmdUI);
  56.     afx_msg void OnEncStop();
  57.     afx_msg void OnUpdateEncStop(CCmdUI* pCmdUI);
  58.     afx_msg void OnUpdateAppExit(CCmdUI* pCmdUI);
  59.     afx_msg void OnUpdateSetAudioParam(CCmdUI* pCmdUI);
  60.     afx_msg void OnUpdateSetAudioEncParam(CCmdUI* pCmdUI);
  61.     afx_msg void OnUpdateSetVideoParam(CCmdUI* pCmdUI);
  62.     afx_msg void OnUpdateSetVideoEncParam(CCmdUI* pCmdUI);
  63.     afx_msg void OnUpdateSetTime(CCmdUI* pCmdUI);
  64.     afx_msg void OnSetOverlay();
  65.     afx_msg void OnUpdateSetOverlay(CCmdUI* pCmdUI);
  66.     afx_msg void OnSetMonitor();
  67.     afx_msg void OnUpdateSetMonitor(CCmdUI* pCmdUI);
  68.     afx_msg void OnSetVideoCd();
  69.     afx_msg void OnUpdateSetVideoCd(CCmdUI* pCmdUI);
  70.     afx_msg void OnSetAudioFormatMpeg();
  71.     afx_msg void OnSetAudioFormatMono();
  72.     afx_msg void OnSetAudioFormatStereo();
  73.     afx_msg void OnUpdateSetAudioFormatMpeg(CCmdUI* pCmdUI);
  74.     afx_msg void OnUpdateSetAudioFormatMono(CCmdUI* pCmdUI);
  75.     afx_msg void OnUpdateSetAudioFormatStereo(CCmdUI* pCmdUI);
  76.     afx_msg void OnSetVideoEncParamEx();
  77.     afx_msg void OnUpdateSetVideoEncParamEx(CCmdUI* pCmdUI);
  78.     afx_msg void OnSetOverlayAdjust();
  79.     afx_msg void OnSetGetLastError();
  80.     afx_msg void OnSetEncodeFile();
  81.     afx_msg void OnSetOverlayRect();
  82.     afx_msg void OnUpdateSetOverlayRect(CCmdUI* pCmdUI);
  83.     //}}AFX_MSG
  84.     DECLARE_MESSAGE_MAP()
  85. private:
  86.     friend void CALLBACK TmapProc(UINT enc_id, ENC_VOBU_ENT_INFO *tmap, UINT);
  87.     friend void CALLBACK ErrorProc(UINT enc_id, ULONG error);
  88.     friend void CALLBACK StatusProc(UINT enc_id, ENC_STATUS_NOTIFY enc_state);
  89. };
  90.  
  91. /////////////////////////////////////////////////////////////////////////////
  92.  
  93.