equal
deleted
inserted
replaced
6 #include <relpipe/cli/RelpipeCLIException.h> |
6 #include <relpipe/cli/RelpipeCLIException.h> |
7 #include <relpipe/reader/Factory.h> |
7 #include <relpipe/reader/Factory.h> |
8 #include <relpipe/reader/RelationalReader.h> |
8 #include <relpipe/reader/RelationalReader.h> |
9 #include <relpipe/reader/RelpipeReaderException.h> |
9 #include <relpipe/reader/RelpipeReaderException.h> |
10 |
10 |
|
11 #include "RelpipeChartMainWindow.h" |
11 |
12 |
12 using namespace relpipe::cli; |
13 using namespace relpipe::cli; |
13 using namespace relpipe::reader; |
14 using namespace relpipe::reader; |
14 |
15 |
15 int main(int argc, char**argv) { |
16 int main(int argc, char**argv) { |
19 std::cout << "TODO: relpipe-out-chart..." << std::endl; |
20 std::cout << "TODO: relpipe-out-chart..." << std::endl; |
20 |
21 |
21 std::shared_ptr<RelationalReader> reader(Factory::create(std::cin)); |
22 std::shared_ptr<RelationalReader> reader(Factory::create(std::cin)); |
22 |
23 |
23 int resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR; |
24 int resultCode = CLI::EXIT_CODE_UNEXPECTED_ERROR; |
|
25 |
|
26 RelpipeChartMainWindow window; |
|
27 window.resize(640, 480); |
|
28 window.show(); |
|
29 |
|
30 app.exec(); |
|
31 //return app.exec(); |
24 |
32 |
25 return resultCode; |
33 return resultCode; |
26 } |
34 } |