equal
deleted
inserted
replaced
1 #include <iostream> |
1 #include <iostream> |
|
2 |
|
3 #include <QApplication> |
2 |
4 |
3 #include <relpipe/cli/CLI.h> |
5 #include <relpipe/cli/CLI.h> |
4 #include <relpipe/cli/RelpipeCLIException.h> |
6 #include <relpipe/cli/RelpipeCLIException.h> |
5 #include <relpipe/reader/Factory.h> |
7 #include <relpipe/reader/Factory.h> |
6 #include <relpipe/reader/RelationalReader.h> |
8 #include <relpipe/reader/RelationalReader.h> |
10 using namespace relpipe::cli; |
12 using namespace relpipe::cli; |
11 using namespace relpipe::reader; |
13 using namespace relpipe::reader; |
12 |
14 |
13 int main(int argc, char**argv) { |
15 int main(int argc, char**argv) { |
14 CLI cli(argc, argv); |
16 CLI cli(argc, argv); |
|
17 QApplication app(argc, argv); |
|
18 |
15 std::cout << "TODO: relpipe-out-chart..." << std::endl; |
19 std::cout << "TODO: relpipe-out-chart..." << std::endl; |
16 |
20 |
17 std::shared_ptr<RelationalReader> reader(Factory::create(std::cin)); |
21 std::shared_ptr<RelationalReader> reader(Factory::create(std::cin)); |
18 |
22 |
19 int resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR; |
23 int resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR; |