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

📄 cavdevice.h

📁 陆其明的实务精选中附带光盘中的视频聊天源代码
💻 H
字号:
//
// CAVDevice.h
//

#ifndef __H_CAVDevice__
#define __H_CAVDevice__

#include "GlobalDefs.h"

class CAVDevice
{
private:
	Device_Type		mType;
	CString			mFriendlyName;
	CString			mDisplayName;

	long			mVideoResolution;
	long			mAudioConnector;

public:
	CAVDevice();
	~CAVDevice();

	CAVDevice& operator = (const CAVDevice&);

	void SetDevideType(Device_Type inType);
	Device_Type GetDeviceType(void);

	BOOL IsDVDevice(void);
	BOOL IsDeviceAvailable(void);

	void SetDeviceFriendlyName(const char * inName);
	CString GetDeviceFriendlyName(void);

	void SetDeviceDisplayName(const char * inName);
	CString GetDeviceDisplayName(void);

	void SetVideoResolution(long inResolution);
	long GetVideoResolution(void);

	void SetAudioConnector(long inConnector);
	long GetAudioConnector(void);
};

#endif // __H_CAVDevice__

⌨️ 快捷键说明

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