--- parser3/src/classes/Attic/env.C 2001/03/10 16:34:33 1.3 +++ parser3/src/classes/Attic/env.C 2001/03/13 17:17:25 1.7 @@ -1,20 +1,22 @@ /* Parser Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) - Author: Alexander Petrosyan + Author: Alexander Petrosyan (http://design.ru/paf) - $Id: env.C,v 1.3 2001/03/10 16:34:33 paf Exp $ + $Id: env.C,v 1.7 2001/03/13 17:17:25 paf Exp $ */ #include "pa_request.h" #include "_env.h" -void initialize_env_class(Pool& pool, VClass& vclass) { - String& name=*new(pool) String(pool); - String& string=*new(pool) String(pool); - char *file="environment"; - int line=3; - name.APPEND("test", 0, file, line); - string.APPEND_TAINTED("", 0, file, line); - vclass.set_field(name, new(pool) VString(string)); +// global var + +VStateless_class *env_base_class; + +// methods + +// initialize + +void initialize_env_base_class(Pool& pool, VStateless_class& vclass) { + // TODO: подумать, нужен ли метод "в hash"? }