2006-07-24 21:55:12 +01:00
|
|
|
/* @P@/src/@NAME@/???.cpp
|
2006-07-24 20:19:15 +01:00
|
|
|
*
|
2006-07-24 22:04:40 +01:00
|
|
|
* (c)@YEAR@, @AUTHOR@. Released under the GNU GPL. See file
|
2006-07-24 20:19:15 +01:00
|
|
|
* COPYING for more information / terms of license.
|
|
|
|
*/
|
|
|
|
|
2006-07-24 21:55:12 +01:00
|
|
|
@TODO@ includes
|
2006-07-24 20:19:15 +01:00
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* options for text editors
|
|
|
|
kate: replace-trailing-space-save true; space-indent true; tab-width 4;
|
2006-07-24 21:55:12 +01:00
|
|
|
vim: expandtab:ts=4:sw=4
|
2006-07-24 20:19:15 +01:00
|
|
|
*/
|