--- parser3/src/classes/classes.h 2001/08/02 06:54:12 1.9 +++ parser3/src/classes/classes.h 2002/04/18 10:50:59 1.17 @@ -1,11 +1,10 @@ /** @file Parser: @b Methoded class decl. - Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexandr Petrosian (http://paf.design.ru) - Author: Alexander Petrosyan (http://design.ru/paf) - - $Id: classes.h,v 1.9 2001/08/02 06:54:12 parser Exp $ + $Id: classes.h,v 1.17 2002/04/18 10:50:59 paf Exp $ */ #ifndef CLASSES_H @@ -27,15 +26,17 @@ public: // Methoded */ virtual bool used_directly() =0; /// use this method to read parameters from root "auto.p"; access r.main_class - virtual void configure_admin(Request& r) {} + virtual void configure_admin(Request& ) {} /// use this method to read parameters from 'MAIN' class; access r.main_class - virtual void configure_user(Request& r) {} + virtual void configure_user(Request& ) {} /// use it to construct static variables. check some static so that would be only ONCE! virtual void construct_statics() {} public: // usage - Methoded(Pool& pool) : VStateless_class(pool) { + Methoded(Pool& apool, const char *aname) : + VStateless_class(apool, new(apool) String(apool, aname)) + { } void register_directly_used(Request& r);