--- parser3/src/classes/classes.h 2003/02/17 16:44:56 1.23.2.8 +++ parser3/src/classes/classes.h 2003/03/18 15:14:13 1.23.2.9.2.1 @@ -8,7 +8,7 @@ #ifndef CLASSES_H #define CLASSES_H -static const char* IDENT_CLASSES_H="$Date: 2003/02/17 16:44:56 $"; +static const char* IDENT_CLASSES_H="$Date: 2003/03/18 15:14:13 $"; // include @@ -43,7 +43,7 @@ public: // Methoded public: // usage Methoded(const char* aname, VStateless_class* abase=0): - VStateless_class(StringPtr(new String(aname)), abase) { + VStateless_class(String* (new String(aname)), abase) { } void register_directly_used(Request& r); @@ -70,4 +70,10 @@ DECLARE_OBJECT_PTR(Methoded_array); Methoded_array& methoded_array(); +// defines + +#define DECLARE_CLASS_VAR(name, self, base) \ + MethodedPtr name##_class(self); \ + MethodedPtr name##_base_class(base) + #endif