8 |
#include <dirent.h> |
#include <dirent.h> |
9 |
} |
} |
10 |
|
|
|
|
|
|
|
|
11 |
using namespace pamela; |
using namespace pamela; |
12 |
using namespace log4cxx; |
using namespace log4cxx; |
13 |
using namespace std; |
using namespace std; |
15 |
|
|
16 |
static LoggerPtr logger = Logger::getLogger(_T("pamela.techmodel.TechmodelReader")); |
static LoggerPtr logger = Logger::getLogger(_T("pamela.techmodel.TechmodelReader")); |
17 |
|
|
18 |
|
int GetYODAver(){ |
19 |
|
return(60312); |
20 |
|
}; |
21 |
|
|
22 |
int main(int argc, char* argv[]) { |
int main(int argc, char* argv[]) { |
23 |
|
|
24 |
stringstream oss; |
stringstream oss; |
70 |
} |
} |
71 |
|
|
72 |
if (!strcmp(argv[1], "-version")){ |
if (!strcmp(argv[1], "-version")){ |
73 |
cout << "$Name: YODA6_3/05 $ $Revision: 6.3 $" << "\n"; |
printf(" Version %i \n",GetYODAver()); |
74 |
|
// cout << "$Name: $ $Revision: 6.5 $" << "\n"; |
75 |
exit(1); |
exit(1); |
76 |
} |
} |
77 |
|
|
186 |
Run.WriteFiles(); |
Run.WriteFiles(); |
187 |
|
|
188 |
logger->info("<-------------------------------END UNPACKING------------------------------->\n"); |
logger->info("<-------------------------------END UNPACKING------------------------------->\n"); |
189 |
|
printf("Finished, exiting...\n"); |
190 |
|
|
191 |
//Momentarly suspended the save |
//Momentarly suspended the save |
192 |
//system(command.c_str()); |
//system(command.c_str()); |