From bbe16940e7a6f97128e99ad7642b964e48ecde2e Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Wed, 21 May 2014 21:16:43 +0200 Subject: Moved include path resolution into separate member method * enables access to include path resolution from external functions ** this will be useful to enable reading files from the include path using the external read-file or read-xml-file functions * moved file path extraction into a function local to the compilation unit --- src/support/include_entity_resolver.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/support/include_entity_resolver.h') diff --git a/src/support/include_entity_resolver.h b/src/support/include_entity_resolver.h index 390cfe1..b87e10f 100644 --- a/src/support/include_entity_resolver.h +++ b/src/support/include_entity_resolver.h @@ -20,6 +20,8 @@ class IncludeEntityResolver : public xercesc::EntityResolver { const XMLCh* const ); + std::pair resolve(const std::string&); + private: std::vector path_; -- cgit v1.2.3