the first part of reimplementing has been done

now we have app object and singletons are only: log logn plugin and app



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@628 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-08-10 16:12:50 +00:00
parent 6897192364
commit 217cf1420b
191 changed files with 9529 additions and 7250 deletions

View File

@@ -8,11 +8,8 @@
*/
#include "templates.h"
#include "../core/sessioncontainer.h"
#include "../core/requestcontroller.h"
#include "../core/data.h"
#include "../core/request.h"
#include "../core/misc.h"
#include "core/request.h"
#include "core/misc.h"
@@ -27,14 +24,14 @@ size_t who_lp;
bool who_init()
{
if( who_reqid != request.id )
if( who_reqid != request->id )
{
who_reqid = request.id;
who_iterator = req_controller.SessionBegin();
who_reqid = request->id;
who_iterator = session_manager->SessionBegin();
who_lp = 1;
}
return who_iterator != req_controller.SessionEnd();
return who_iterator != session_manager->SessionEnd();
}
@@ -43,13 +40,13 @@ void who_tab(Info & i)
{
who_init();
if( i.iter != 0 && who_iterator != req_controller.SessionEnd() )
if( i.iter != 0 && who_iterator != session_manager->SessionEnd() )
{
++who_iterator;
++who_lp;
}
i.res = who_iterator != req_controller.SessionEnd();
i.res = who_iterator != session_manager->SessionEnd();
}