You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
651 B
C++
22 lines
651 B
C++
#include "CommandLineHandler.h"
|
|
#include "FITK_Kernel/FITKCore/FITKOperatorRepo.h"
|
|
#include "FITK_Kernel/FITKCore/FITKActionOperator.h"
|
|
#include "FITK_Kernel/FITKAppFramework/FITKAppFramework.h"
|
|
#include "FITK_Kernel/FITKAppFramework/FITKGlobalData.h"
|
|
#include "FITK_Kernel/FITKAppFramework/FITKRunTimeSetting.h"
|
|
|
|
void CommandLineHandler::exec()
|
|
{
|
|
/* //查找参数
|
|
int index = _args.indexOf("-i");
|
|
if (index >= 0)
|
|
//-i 后面的参数为文件名
|
|
this->importINP(index + 1);
|
|
|
|
index = _args.indexOf("-ribbon");
|
|
if(index >=0 )
|
|
FITKAPP->getGlobalData()->getRunTimeSetting()->setValue("Ribbon", true);
|
|
*/
|
|
}
|
|
|