www.pudn.com > XvidQP.rar > FrameViewerDlg.h


#if !defined(AFX_FRAMEVIEWERDLG_H__A9AFB12B_2A14_4975_9B56_FE114FB249CE__INCLUDED_) 
#define AFX_FRAMEVIEWERDLG_H__A9AFB12B_2A14_4975_9B56_FE114FB249CE__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// FrameViewerDlg.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CFrameViewerDlg dialog 
 
#include "vfw.h" 
#include "InputFile.h" 
#include "VideoSource.h" 
#include "AudioSource.h" 
 
class CFrameViewerDlg : public CDialog 
{ 
// Construction 
public: 
	CFrameViewerDlg(CWnd* pParent = NULL);   // standard constructor 
	void Init(int num, CString path); 
	 
// Dialog Data 
	//{{AFX_DATA(CFrameViewerDlg) 
	enum { IDD = IDD_FRAMEVIEWER }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFrameViewerDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	int frame, width, height; 
	CString avipath; 
 
	void DrawFrame(void); 
	void SizeToFrame(void); 
 
	// Generated message map functions 
	//{{AFX_MSG(CFrameViewerDlg) 
	virtual BOOL OnInitDialog(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FRAMEVIEWERDLG_H__A9AFB12B_2A14_4975_9B56_FE114FB249CE__INCLUDED_)