|
|
|
@ -52,18 +52,18 @@ static const KCmdLineOptions options[] =
|
|
|
|
|
|
|
|
|
|
int main(int argc, char **argv)
|
|
|
|
|
{
|
|
|
|
|
KCmdLineArgs::init(argc, argv, appName, programName, description, version, false);
|
|
|
|
|
TDECmdLineArgs::init(argc, argv, appName, programName, description, version, false);
|
|
|
|
|
|
|
|
|
|
KCmdLineArgs::addCmdLineOptions(options);
|
|
|
|
|
TDECmdLineArgs::addCmdLineOptions(options);
|
|
|
|
|
|
|
|
|
|
LNKForwarder app;
|
|
|
|
|
|
|
|
|
|
return app.run(KCmdLineArgs::parsedArgs());
|
|
|
|
|
return app.run(TDECmdLineArgs::parsedArgs());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
int LNKForwarder::run(KCmdLineArgs *args)
|
|
|
|
|
int LNKForwarder::run(TDECmdLineArgs *args)
|
|
|
|
|
{
|
|
|
|
|
if ( args->count() == 0 ) return 1;
|
|
|
|
|
|
|
|
|
|