diff options
author | Adrian Kummerländer | 2014-05-07 16:46:48 +0200 |
---|---|---|
committer | Adrian Kummerländer | 2014-05-07 16:46:48 +0200 |
commit | 168537848c7317f81ba44d0986e6cd7da2afb976 (patch) | |
tree | 23c8f041329297faa265a223065467702ccb2a00 /example.cc | |
parent | e17ba6dde7588f717bc5e79b3cb64cddd73d6173 (diff) | |
download | InputXSLT-168537848c7317f81ba44d0986e6cd7da2afb976.tar InputXSLT-168537848c7317f81ba44d0986e6cd7da2afb976.tar.gz InputXSLT-168537848c7317f81ba44d0986e6cd7da2afb976.tar.bz2 InputXSLT-168537848c7317f81ba44d0986e6cd7da2afb976.tar.lz InputXSLT-168537848c7317f81ba44d0986e6cd7da2afb976.tar.xz InputXSLT-168537848c7317f81ba44d0986e6cd7da2afb976.tar.zst InputXSLT-168537848c7317f81ba44d0986e6cd7da2afb976.zip |
Extracted core functionality into static libary
* this was needed to share object files between the newly separated test-case and example target executables
* allows for easy development of multiple "frontends" to the same core functionality
Diffstat (limited to 'example.cc')
-rw-r--r-- | example.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/example.cc b/example.cc new file mode 100644 index 0000000..a0c122d --- /dev/null +++ b/example.cc @@ -0,0 +1,11 @@ +#include "plattform_guard.h" +#include "transformation_facade.h" + +int main(int, char**) { + InputXSLT::PlattformGuard plattform; + InputXSLT::TransformationFacade transformation("../dummy/transform.xsl"); + + return transformation.generate("out.xml", { + {"test", "42"} + }); +} |