summaryrefslogtreecommitdiff
path: root/project2/rawView.h
diff options
context:
space:
mode:
Diffstat (limited to 'project2/rawView.h')
-rw-r--r--project2/rawView.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/project2/rawView.h b/project2/rawView.h
new file mode 100644
index 0000000..8d069b0
--- /dev/null
+++ b/project2/rawView.h
@@ -0,0 +1,24 @@
+#ifndef RAWVIEW_H
+#define RAWVIEW_H
+
+#include <libxml++/nodes/element.h>
+#include <boost/shared_ptr.hpp>
+#include <map>
+#include "view.h"
+
+class ApplicationEngine;
+
+class _RawView : public _View {
+ public:
+ _RawView(const xmlpp::Element * p);
+ void execute(xmlpp::Element *, const ApplicationEngine *, const _View * parent = NULL) const;
+ Glib::ustring getCurrentValue(const Glib::ustring & id) const;
+ private:
+ const xmlpp::Element * copyRoot;
+};
+typedef boost::shared_ptr<_RawView> RawView;
+typedef std::map<std::string, RawView> RawViews;
+
+#endif
+
+