www.pudn.com > DVBPlayer.rar > misc.h, change:2004-07-14,size:478b


 
 
 
#ifndef __MISC__ 
#define __MISC__ 
 
 
#define TYPICAL_DELETE(x) if (x) { delete x; x = NULL; } 
 
#define NO_CONNECT_ID 0xffff  
 
 
enum 
{ 
	SWITCH_NONE, 
		SWITCH_DISQEC10, 
		SWITCH_DISQEC12, 
		SWITCH_22k, 
		SWITCH_TONEBURST, 
}; 
 
 
enum 
{ 
	BMP_ID_CARD, 
		BMP_ID_SWITCH, 
		BMP_ID_SWITCH_NO_SEL, 
		BMP_ID_SWITCH_SEL 
}; 
 
enum 
{ 
	HIBER_ROOT,  
		HIBER_DVB_CARD, 
		HIBER_DVB_SWITCH, 
		HIBER_NONE_NODE=HIBER_DVB_SWITCH, 
		HIBER_DVB_NODE 
}; 
 
 
 
#endif