blob: 977aa4d1307ff29d4eb22eb7352c98d6c85d8e22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef PRESENTER_H
#define PRESENTER_H
#include <boost/intrusive_ptr.hpp>
#include <boost/shared_ptr.hpp>
#include <glibmm/ustring.h>
#include <libxml++/parsers/domparser.h>
#include "view.h"
#include "paramChecker.h"
class Presenter : public virtual IntrusivePtrBase {
public:
typedef boost::shared_ptr<xmlpp::Document> XmlDocumentPtr;
Presenter(const std::string & group, const std::string & file);
~Presenter();
virtual XmlDocumentPtr getDataDocument() const;
protected:
Views views;
OrderedParamCheckers parameterChecks;
xmlpp::DomParser present;
public:
const Glib::ustring responseRootNodeName;
const Glib::ustring responseStyle;
};
typedef boost::intrusive_ptr<Presenter> PresenterPtr;
#endif
|