static long load_compact(LCDD& lcdd, int argc, char** argv) { if ( argc > 0 ) { LCDDBuildType type = BUILD_DEFAULT; string input = argv[0]; if ( argc > 1 ) { type = build_type(argv[1]); printout(INFO,"CompactLoader","+++ Processing compact file: %s with flag %s", input.c_str(), argv[1]); lcdd.fromCompact(input,type); return 1; } printout(INFO,"CompactLoader","+++ Processing compact file: %s",input.c_str()); lcdd.fromCompact(input); return 1; } return 0; }