projects
/
biaweb2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replaced cmake with scons
[biaweb2.git]
/
biaweb.cpp
diff --git
a/biaweb.cpp
b/biaweb.cpp
index
f720fe0
..
d0c284e
100644
(file)
--- a/
biaweb.cpp
+++ b/
biaweb.cpp
@@
-1,5
+1,6
@@
#include <iostream>
#include <fstream>
#include <iostream>
#include <fstream>
+#include <getopt.h>
#include "biawebdocumenttree.hpp"
using namespace biaweb;
#include "biawebdocumenttree.hpp"
using namespace biaweb;
@@
-10,6
+11,7
@@
int main (int argc, char *argv[]) {
// An empty document tree
std::unique_ptr<DocumentTree> tree (new DocumentTree (""));
tree.get()->document_tree_builder ("Test/Reviews");
// An empty document tree
std::unique_ptr<DocumentTree> tree (new DocumentTree (""));
tree.get()->document_tree_builder ("Test/Reviews");
+ std::cout << VISUALIZE_TREE << std::endl;
tree.get()->visualize_tree ();
Template tpl ("templates");
tree.get()->create_tree_html (&tpl, "Test/Out");
tree.get()->visualize_tree ();
Template tpl ("templates");
tree.get()->create_tree_html (&tpl, "Test/Out");