summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opensp/opensp/attributevalue.patch
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-01-26 11:16:42 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 23:59:36 +0000
commitedca98225b0359eb29f3d3056bd2c59b3bab4475 (patch)
treead1c0448067fdac26ae2c5f98e8e0cdeb43c6908 /meta/recipes-devtools/opensp/opensp/attributevalue.patch
parent60450eb353c17faac98e12837507430e968e9d02 (diff)
downloadpoky-edca98225b0359eb29f3d3056bd2c59b3bab4475.tar.gz
opensp: new recipe v1.5
Recipe derived from OpenEmbedded. Removed old-style staging and converted to BBCLASSEXTEND. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Diffstat (limited to 'meta/recipes-devtools/opensp/opensp/attributevalue.patch')
-rw-r--r--meta/recipes-devtools/opensp/opensp/attributevalue.patch62
1 files changed, 62 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opensp/opensp/attributevalue.patch b/meta/recipes-devtools/opensp/opensp/attributevalue.patch
new file mode 100644
index 0000000000..4f3507e19b
--- /dev/null
+++ b/meta/recipes-devtools/opensp/opensp/attributevalue.patch
@@ -0,0 +1,62 @@
1Patch obtained from OpenEmbedded.
2
3Signed-off-by: Scott Garman <scott.a.garman@intel.com>
4--- OpenSP-1.5/include/Attribute.h~attributevalue 2000-03-09 13:30:56.000000000 -0500
5+++ OpenSP-1.5/include/Attribute.h 2004-01-20 14:11:36.000000000 -0500
6@@ -31,6 +31,28 @@
7 class AttributeContext;
8 class Syntax;
9
10+class SP_API AttributeValue : public Resource {
11+public:
12+ enum Type {
13+ implied,
14+ cdata,
15+ tokenized
16+ };
17+ AttributeValue();
18+ virtual ~AttributeValue();
19+ virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
20+ AttributeContext &,
21+ const StringC &,
22+ unsigned &,
23+ unsigned &) const;
24+ virtual Type info(const Text *&, const StringC *&) const = 0;
25+ virtual const Text *text() const;
26+ virtual Boolean recoverUnquoted(const StringC &, const Location &,
27+ AttributeContext &, const StringC &);
28+ static Boolean handleAsUnterminated(const Text &, AttributeContext &);
29+};
30+
31+
32 class SP_API AttributeDefinitionDesc {
33 public:
34 AttributeDefinitionDesc() { }
35@@ -380,27 +402,6 @@
36 ConstPtr<Notation> notation_;
37 };
38
39-class SP_API AttributeValue : public Resource {
40-public:
41- enum Type {
42- implied,
43- cdata,
44- tokenized
45- };
46- AttributeValue();
47- virtual ~AttributeValue();
48- virtual AttributeSemantics *makeSemantics(const DeclaredValue *,
49- AttributeContext &,
50- const StringC &,
51- unsigned &,
52- unsigned &) const;
53- virtual Type info(const Text *&, const StringC *&) const = 0;
54- virtual const Text *text() const;
55- virtual Boolean recoverUnquoted(const StringC &, const Location &,
56- AttributeContext &, const StringC &);
57- static Boolean handleAsUnterminated(const Text &, AttributeContext &);
58-};
59-
60 class SP_API ImpliedAttributeValue : public AttributeValue {
61 public:
62 ImpliedAttributeValue();