aboutsummaryrefslogtreecommitdiff
path: root/src/function/external_text_formatter.h
blob: 23e6ab9e5e46f444bd01b343573a78b1d68b94e8 (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 INPUTXSLT_SRC_FUNCTION_EXTERNAL_TEXT_FORMATTER_H_
#define INPUTXSLT_SRC_FUNCTION_EXTERNAL_TEXT_FORMATTER_H_

#include <boost/filesystem.hpp>

#include "base.h"

namespace InputXSLT {

class FunctionExternalTextFormatter : public FunctionBase<
	FunctionExternalTextFormatter,
	boost::filesystem::path,
	std::string
> {
	public:
		using FunctionBase::FunctionBase;

	protected:
		friend FunctionBase;

		DomDocumentCache::document_ptr constructDocument(
			boost::filesystem::path,
			std::string
		);

};

}

#endif  // INPUTXSLT_SRC_FUNCTION_EXTERNAL_TEXT_FORMATTER_H_