xml-copy-editor-code/src/catalogresolver.cpp

12 lines
301 B
C++
Raw Normal View History

2007-08-30 01:12:56 +02:00
#include <memory>
#include "wraplibxml.h"
#include "catalogresolver.h"
std::string CatalogResolver::lookupPublicId(
const std::string& publicId,
const std::string& catalogPath)
{
std::auto_ptr<WrapLibxml> libxml(new WrapLibxml(false, catalogPath));
return libxml->lookupPublicId(publicId);
}