/*
 * sources.h: Source handling
 *
 * See the main source file 'vdr.c' for copyright information and
 * how to reach the author.
 *
 * $Id: sources.h 1.4 2005/05/14 09:30:41 kls Exp $
 */

#ifndef __SOURCES_H
#define __SOURCES_H

#include "tools.h"

class cSource {
public:
	enum eSourceType {
		stNone  = 0x0000,
		stCable = 0x4000,
		stSat   = 0x8000,
		stTerr  = 0xC000,
		st_Mask = 0xC000,
		st_Neg  = 0x0800,
		st_Pos  = 0x07FF,
	};
public:
	static cString ToString(int Code);
	static int FromString(const char *s);
};

#endif //__SOURCES_H