updated: to the new Pikotools API
ConfParser is now SpaceParser added: to SessionManager Session * SessionManager::FindSession(long id) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@831 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -199,6 +199,16 @@ void SessionManager::SetSession()
|
||||
}
|
||||
|
||||
|
||||
Session * SessionManager::FindSession(long id)
|
||||
{
|
||||
SessionContainer::Iterator i = session_tab.FindById(id);
|
||||
|
||||
if( i != session_tab.End() )
|
||||
return &*i;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
SessionContainer::Iterator SessionManager::SessionBegin()
|
||||
{
|
||||
|
Reference in New Issue
Block a user