From 9fb34dbc4b06356402c0e1d15496ad7564237186 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 4 Jul 2017 07:44:30 -0400 Subject: output_hub sqlite introduce structure --- src/sdp/output/hub.d | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/sdp/output/hub.d') diff --git a/src/sdp/output/hub.d b/src/sdp/output/hub.d index 2a1221f..b2ae4a6 100644 --- a/src/sdp/output/hub.d +++ b/src/sdp/output/hub.d @@ -74,6 +74,7 @@ template outputHub() { } if (doc_matters.opt_action["sqlite"]) { if ((doc_matters.opt_action["verbose"])) { writeln("sqlite processing... "); } + // SQLtableLoad!()(doc_abstraction, doc_matters); } if (doc_matters.opt_action["postgresql"]) { /+ mixin outputPostgreSQL; +/ @@ -81,3 +82,24 @@ template outputHub() { } } } +template outputHubOp() { + import sdp.output, + sdp.output.epub3, + sdp.output.html, + sdp.output.xmls, + sdp.output.source_sisupod, + sdp.output.create_zip_file, + sdp.output.paths_output; + void outputHubOp(C)(C config) { + mixin SiSUoutputRgxInit; + auto rgx = Rgx(); + if ((config["sqlite-create"])) { + if ((config["verbose"])) { writeln("sqlite create table... "); } + // SQLtableCreate!()(); + } + if ((config["sqlite-drop"])) { + if ((config["verbose"])) { writeln("sqlite drop table... "); } + // SQLtableDrop!()(); + } + } +} -- cgit v1.2.3