--- parser3/src/classes/Attic/env.C 2001/03/11 08:16:31 1.4 +++ parser3/src/classes/Attic/env.C 2001/03/13 16:38:21 1.6 @@ -3,18 +3,18 @@ Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) Author: Alexander Petrosyan (http://design.ru/paf) - $Id: env.C,v 1.4 2001/03/11 08:16:31 paf Exp $ + $Id: env.C,v 1.6 2001/03/13 16:38:21 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 + +void initialize_env_base_class(Pool& pool, VStateless_class& vclass) { + // TODO: подумать, нужен ли метод "в hash"? }