// AudioTielineShim.h: interface for the AudioTielineShim class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_AUDIOTIELINESHIM_H__778EDC92_7A90_4AF5_AC89_B59B3454BB76__INCLUDED_)
#define AFX_AUDIOTIELINESHIM_H__778EDC92_7A90_4AF5_AC89_B59B3454BB76__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#pragma warning(disable:4786)

#include "cAssLink.h"
#include <map>
using namespace std;

class AudioTielineShim  
{
public:
	AudioTielineShim();
	virtual ~AudioTielineShim();
	bncs_string GetDest_Tieline_Details(bncs_string Router, int iDestination, int &iReturnedDestination,int & isourceMain);
	bncs_string CrosspointInformation(int iSource, int iDestination);
private:
	void Make_Links_Map(bncs_string sinstance);
	
//	char* r_p(char* file, char* section, char* entry, char* defval, BOOL fWrite);
//	void w_p(char* file, char* section, char* entry, char* setting);
	
	map<int, int> destTally;
	typedef map<int,int> MAP_RTR;
	typedef map<int,cAssLink *> MAP_LINK;
	typedef map<int, int>::iterator mapIterator;
	typedef map<int, cAssLink *>::iterator maplinkIterator;
	MAP_LINK maplinkaes;
	MAP_LINK maplinkstuder;
	MAP_RTR mapofrouters;
	bncs_string m_instance;
	int m_intSizeMaindest;
	int m_intSizeMainsource;
	int m_stddevice;
	int m_aesdevice;

};

#endif // !defined(AFX_AUDIOTIELINESHIM_H__778EDC92_7A90_4AF5_AC89_B59B3454BB76__INCLUDED_)
