--- parser3/src/classes/form.C 2003/02/06 14:31:53 1.34.2.4 +++ parser3/src/classes/form.C 2003/02/26 11:29:55 1.34.2.7 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_FORM_C="$Date: 2003/02/06 14:31:53 $"; +static const char* IDENT_FORM_C="$Date: 2003/02/26 11:29:55 $"; #include "classes.h" #include "pa_vmethod_frame.h" @@ -18,7 +18,9 @@ const size_t MAX_POST_SIZE_DEFAULT=10*0x // class -class MForm: public Methoded { +class MForm : public Methoded { +public: + MForm(Pool& pool); public: // Methoded bool used_directly() { return false; } @@ -26,13 +28,13 @@ public: // Methoded public: - MForm(): Methoded(0) {} + MForm(): Methoded("form") {} }; // global variable -MethodedPtr form_base_class(new MForm); +DECLARE_CLASS_VAR(form, 0/*fictive*/, new MForm); // defines for statics