cavdevice.h

来自「聊天室」· C头文件 代码 · 共 45 行

H
45
字号
//
// 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 + =
减小字号Ctrl + -
显示快捷键?