--- parser3/src/classes/Attic/env.C 2001/03/10 11:46:55 1.2 +++ parser3/src/classes/Attic/env.C 2001/03/13 17:17:25 1.7 @@ -1,16 +1,22 @@ /* -$Id: env.C,v 1.2 2001/03/10 11:46:55 paf Exp $ + Parser + Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com) + Author: Alexander Petrosyan (http://design.ru/paf) + + $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"? }