| 1 |
#include "GEDCOMParser/Parser.hh" |
#include "GEDCOMParser/Parser.hh" |
| 2 |
#include "GEDCOMParser/GEDCOMFactory.hh" |
#include "GEDCOMParser/GEDCOMFactory.hh" |
| 3 |
|
#include "GEDCOMParser/GEDCOMFactoryAccessor.hh" |
| 4 |
#include "GEDCOMParser/ParseErrorManagement/ParseErrorManager.hh" |
#include "GEDCOMParser/ParseErrorManagement/ParseErrorManager.hh" |
| 5 |
#include <iostream> |
#include <iostream> |
| 6 |
|
|
| 21 |
textdomain (PACKAGE); |
textdomain (PACKAGE); |
| 22 |
|
|
| 23 |
GEDCOMParser::GEDCOMFactory factory; |
GEDCOMParser::GEDCOMFactory factory; |
| 24 |
|
GEDCOMParser::GEDCOMFactoryAccessor::Init(&factory); |
| 25 |
GEDCOMParser::Parser viewparser(&factory); |
GEDCOMParser::Parser viewparser(&factory); |
| 26 |
if (argc == 3) |
if (argc == 3) |
| 27 |
{ |
{ |