$OpenBSD: patch-include_Attribute_h,v 1.1 2004/03/06 22:11:08 naddy Exp $ --- include/Attribute.h.orig 1999-05-02 17:36:36.000000000 +0200 +++ include/Attribute.h 2004-03-06 21:59:55.000000000 +0100 @@ -31,6 +31,27 @@ class AttributeSemantics; class AttributeContext; class Syntax; +class SP_API AttributeValue : public Resource { +public: + enum Type { + implied, + cdata, + tokenized + }; + AttributeValue(); + virtual ~AttributeValue(); + virtual AttributeSemantics *makeSemantics(const DeclaredValue *, + AttributeContext &, + const StringC &, + unsigned &, + unsigned &) const; + virtual Type info(const Text *&, const StringC *&) const = 0; + virtual const Text *text() const; + virtual Boolean recoverUnquoted(const StringC &, const Location &, + AttributeContext &, const StringC &); + static Boolean handleAsUnterminated(const Text &, AttributeContext &); +}; + class SP_API AttributeDefinitionDesc { public: AttributeDefinitionDesc() { } @@ -373,27 +394,6 @@ private: ConstPtr notation_; }; -class SP_API AttributeValue : public Resource { -public: - enum Type { - implied, - cdata, - tokenized - }; - AttributeValue(); - virtual ~AttributeValue(); - virtual AttributeSemantics *makeSemantics(const DeclaredValue *, - AttributeContext &, - const StringC &, - unsigned &, - unsigned &) const; - virtual Type info(const Text *&, const StringC *&) const = 0; - virtual const Text *text() const; - virtual Boolean recoverUnquoted(const StringC &, const Location &, - AttributeContext &, const StringC &); - static Boolean handleAsUnterminated(const Text &, AttributeContext &); -}; - class SP_API ImpliedAttributeValue : public AttributeValue { public: ImpliedAttributeValue();