⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mp4playerdlg.h

📁 DVR-MPEG4编码播放器
💻 H
字号:
// Mp4PlayerDlg.h : header file
//

#if !defined(AFX_MP4PLAYERDLG_H__6C6ECF8E_F647_4760_9A55_3A547328F259__INCLUDED_)
#define AFX_MP4PLAYERDLG_H__6C6ECF8E_F647_4760_9A55_3A547328F259__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//#include "VRT.h"
/////////////////////////////////////////////////////////////////////////////
// CMp4PlayerDlg dialog

#define MAXFILELEN2  150

//------------------------------------
typedef struct _BUF_FILE2
{
	char FileName[80];
	long FileLen; 
}BUF_FILE2;
//-------------------------------------
typedef struct _TRANS_FILE2
{
	BUF_FILE2  Buf_File[MAXFILELEN2]; 
	int       FileCounter;

}TRANS_FILE2;

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


class CMp4PlayerDlg : public CDialog
{
public:
	bool    ifPlay;
	char	m_FilenamesStr[ 256 ];	
	char    FilenameStr[ 256 ];	
	TRANS_FILE2 Trans_File2;

// Construction
public:
	bool Motion;
	int MotionDetect[8];
	char Path[255];
	bool ifLink;
	char NetLink[100];
	void ConnectToServer();
	void ChannelSet();
	int m_ChannelCount;
	CString m_StrIPAddress;
	int m_Channel;
	void GetFileName();
	CMp4PlayerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CMp4PlayerDlg)
	enum { IDD = IDD_MP4PLAYER_DIALOG };
	CButton	m_ctrChannel6;
	CButton	m_ctrChannel5;
	CButton	m_Motion;
	CButton	m_ctrChannel4;
	CButton	m_ctrChannel3;
	CButton	m_ctrChannel2;
	CButton	m_ctrChannel1;
	CComboBox	m_CtlConnectIP;
	CStatic	m_Win;
	BOOL	m_MotionDetect;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMp4PlayerDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CMp4PlayerDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnFileps();
	afx_msg void OnFilets();
	afx_msg void OnNetps();
	afx_msg void OnFullscreen();
	afx_msg void OnStop();
	afx_msg void OnFast();
	afx_msg void OnSavefile();
	afx_msg void OnBack();
	afx_msg void OnStepfast();
	afx_msg void OnStepback();
	afx_msg void OnNormal();
	afx_msg void OnGrab();
	afx_msg void OnDisplay();
	afx_msg void OnChannel1();
	afx_msg void OnChannel2();
	afx_msg void OnChannel3();
	afx_msg void OnChannel4();
	afx_msg void OnConnect();
	afx_msg void OnSystemSetp();
	afx_msg void OnMisce();
	afx_msg void OnSchedule();
	afx_msg void OnSearch();
	afx_msg void OnPtz();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnMotiondetect();
	afx_msg void OnChannel5();
	afx_msg void OnChannel6();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MP4PLAYERDLG_H__6C6ECF8E_F647_4760_9A55_3A547328F259__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -