Add virtual converter output interface

This commit is contained in:
deeaitch committed 2026-08-28 00:15:31 -04:00
1 parent 28c9752f18
commit 0f4da8e695
7 files changed
+144 -86

No files matched your search

+2 -2
View File
@@ -2,7 +2,7 @@
#include <iostream>
#include <string>
#include "converter.h"
#include "convertlatex.h"
struct CliArgs {
std::string input;
@@ -53,7 +53,7 @@ int main (int argc, char **argv) {
if (!parse_args (argc, argv, args))
return 1;
Converter converter (args.input);
ConvertLatex converter (args.input);
if (!converter.save (args.output))
return converter.error_code();