summaryrefslogtreecommitdiffstats
path: root/akregator/src/librss/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'akregator/src/librss/global.h')
-rw-r--r--akregator/src/librss/global.h18
1 files changed, 16 insertions, 2 deletions
diff --git a/akregator/src/librss/global.h b/akregator/src/librss/global.h
index 091018cb..8ff4e406 100644
--- a/akregator/src/librss/global.h
+++ b/akregator/src/librss/global.h
@@ -11,13 +11,28 @@
#ifndef LIBRSS_GLOBAL_H
#define LIBRSS_GLOBAL_H
-#include <tdepimmacros.h>
+#include <tdemacros.h>
template <class>
class TQValueList;
namespace RSS
{
+ /// The Atom 1.0 XML namespace.
+ constexpr const char *AtomNamespace = "http://www.w3.org/2005/Atom";
+ /// The CommentAPI XML namespace.
+ constexpr const char *CommentAPINamespace = "http://wellformedweb.org/CommentAPI/";
+ /// The Content XML namespace.
+ constexpr const char *ContentNamespace = "http://purl.org/rss/1.0/modules/content/";
+ /// The Dublin Core XML namespace.
+ constexpr const char *DublinCoreNamespace = "http://purl.org/dc/elements/1.1/";
+ /// The RDF Concepts Vocabulary (RDF) namespace.
+ constexpr const char *RDFNamespace = "http://www.w3.org/1999/02/22-rdf-syntax-ns#";
+ /// The Slash XML namespace.
+ constexpr const char *SlashNamespace = "http://purl.org/rss/1.0/modules/slash/";
+ /// The XML namespace.
+ constexpr const char *XMLNamespace = "http://www.w3.org/XML/1998/namespace";
+
/**
* Versions currently supported by this library. This enumeration is
* subject to be extended in the future and used by Document::version() to
@@ -145,4 +160,3 @@ namespace RSS
}
#endif // LIBRSS_GLOBAL_H
-// vim: noet:ts=4