2006-07-25 19:00:04 +01:00
|
|
|
/* @P@/src/@NAME@/???.cpp
|
|
|
|
*
|
2010-11-25 15:32:52 +00:00
|
|
|
* Copyright: ©@YEAR@, @COPYRIGHT@
|
|
|
|
* Author: @AUTHOR@ <@EMAIL@>
|
|
|
|
* License: GPLv3
|
|
|
|
*/
|
2006-07-25 19:00:04 +01:00
|
|
|
|
2006-07-26 19:30:26 +01:00
|
|
|
@TEST_HEADERS@
|
2006-07-25 19:00:04 +01:00
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
|
|
|
2010-11-25 15:32:52 +00:00
|
|
|
int
|
|
|
|
main(int argc, char* argv[])
|
2006-07-25 19:00:04 +01:00
|
|
|
{
|
|
|
|
if(argc == 2 && !strcmp(argv[1], "--print-summary")) {
|
|
|
|
std::cout << "One line summary.\n";
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
if(argc == 1) {
|
|
|
|
// empty argument list
|
|
|
|
}
|
|
|
|
|
|
|
|
int ret = 0;
|
|
|
|
try {
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
catch(std::exception& e) {
|
|
|
|
std::cerr << e.what() << std::endl;
|
|
|
|
ret = 1;
|
|
|
|
}
|
|
|
|
catch(...) {
|
|
|
|
std::cerr << "Unknown exception caught." << std::endl;
|
|
|
|
ret = 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
return ret;
|
|
|
|
}
|
|
|
|
|
2010-11-25 15:32:52 +00:00
|
|
|
|
|
|
|
|
2006-07-25 19:00:04 +01:00
|
|
|
/* options for text editors
|
2006-07-26 19:30:26 +01:00
|
|
|
vim: @VIM_MODELINE@
|
2006-07-25 19:00:04 +01:00
|
|
|
*/
|