diff options
Diffstat (limited to 'libqpdf/QPDF_json.cc')
-rw-r--r-- | libqpdf/QPDF_json.cc | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libqpdf/QPDF_json.cc b/libqpdf/QPDF_json.cc new file mode 100644 index 00000000..908615b6 --- /dev/null +++ b/libqpdf/QPDF_json.cc @@ -0,0 +1,27 @@ +#include <qpdf/QPDF.hh> + +#include <qpdf/FileInputSource.hh> + +void +QPDF::createFromJSON(std::string const& json_file) +{ + createFromJSON(std::make_shared<FileInputSource>(json_file.c_str())); +} + +void +QPDF::createFromJSON(std::shared_ptr<InputSource>) +{ + // QXXXQ +} + +void +QPDF::updateFromJSON(std::string const& json_file) +{ + updateFromJSON(std::make_shared<FileInputSource>(json_file.c_str())); +} + +void +QPDF::updateFromJSON(std::shared_ptr<InputSource>) +{ + // QXXXQ +} |