www.pudn.com > acdx.rar > H323Utils.cpp


 /*============================================================= 
 
  
 Function: 
		 
 
 
 Author: Leon Wang  
==============================================================*/ 
// H323Utils.cpp: implementation of the H323Utils class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#include "stdafx.h" 
#include "H323Utils.h" 
 
////////////////////////////////////////////////////////////////////// 
// Construction/Destruction 
////////////////////////////////////////////////////////////////////// 
 
//##ModelId=424BB6450364 
H323Utils::H323Utils() 
{ 
 
} 
 
//##ModelId=424BB6450365 
H323Utils::~H323Utils() 
{ 
 
} 
    /** 
     * Remove the type from the alias string. 
     * @param _alias    alias with type from GnuGk 
     * @return          alias name without type 
     */ 
//##ModelId=424BB6450367 
CString H323Utils::extractAliasName(CString _alias) 
{ 
     CString aliasName = _alias; 
     int pos = _alias.Find(':'); 
     if (pos != -1) 
             aliasName = _alias.Left(pos); 
     return aliasName; 
}