From: Gonzalo A. <ga...@us...> - 2006-09-08 14:37:47
|
Update of /cvsroot/mod-c/ehtml/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv18681/src Modified Files: EHTMLApplication.cpp Log Message: Set the application in the selected session driver upon DoInitStage. Index: EHTMLApplication.cpp =================================================================== RCS file: /cvsroot/mod-c/ehtml/src/EHTMLApplication.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** EHTMLApplication.cpp 6 Mar 2006 08:00:36 -0000 1.8 --- EHTMLApplication.cpp 8 Sep 2006 14:37:44 -0000 1.9 *************** *** 90,95 **** int EHTMLApplication::DoInitStage() { OnInit.Trigger(); ! // TODO: Restore the session... return 0; } --- 90,98 ---- int EHTMLApplication::DoInitStage() { + SessionDriver* driver = SessionDriver::Selected(); + if (driver != NULL) + driver->Application(this); OnInit.Trigger(); ! // @TODO: Restore the session... return 0; } *************** *** 131,135 **** ShutSessionsDown(); ! // TODO: Store the session return 0; } --- 134,138 ---- ShutSessionsDown(); ! // @TODO: Store the session return 0; } |