From: Gonzalo A. <ga...@us...> - 2006-09-12 20:01:55
|
Update of /cvsroot/mod-c/ehtml/include In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv6605/include Modified Files: EHTMLApplication.h Log Message: * Session automatic restore/save/release is shifted from 02session.cpp to EHTMLApplication. Index: EHTMLApplication.h =================================================================== RCS file: /cvsroot/mod-c/ehtml/include/EHTMLApplication.h,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** EHTMLApplication.h 12 Sep 2006 15:23:32 -0000 1.8 --- EHTMLApplication.h 12 Sep 2006 20:01:48 -0000 1.9 *************** *** 231,234 **** --- 231,239 ---- void Debug(const char* fmt, ...) const __attribute__ ((format (printf, 2, 3))); + /** + * Gets the current session + */ + Session* GetSession() { return session; } + protected: friend class Session; *************** *** 263,266 **** --- 268,281 ---- /** + * Session Driver to store the sessions. + */ + SessionDriver* driver; + + /** + * Session data + */ + Session* session; + + /** * Message logging */ |