20 lines
507 B
C++
20 lines
507 B
C++
#include "sfilterprocess.h"
|
|
#include <QCoreApplication>
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QCoreApplication a(argc,argv);
|
|
if (argc != 3)
|
|
{
|
|
cout << "Error : Argument " << endl;
|
|
return 0;
|
|
}
|
|
cout << "2015.08.31 16:00" << endl;
|
|
SFilterProcess *process = new SFilterProcess;
|
|
if (process->ReloadSetup())
|
|
process->run(argv[1],argv[2]);
|
|
else
|
|
cout << "Error : Setup.ini not read" << endl;
|
|
delete process;
|
|
return 0;
|
|
}
|