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.
AppFlow/FITK_Kernel/FITKCore/FITKActionOperator.cpp

42 lines
602 B
C++

#include "FITKActionOperator.h"
namespace Core
{
FITKActionOperator::~FITKActionOperator()
{
}
bool FITKActionOperator::actionTriggered()
{
//执行预处理
this->preArgs();
//Ui相关操作
bool OK = this->execGUI();
if (!OK) return false;
//执行具体业务逻辑
return this->execProfession();
}
bool FITKActionOperator::execGUI()
{
return true;
}
bool FITKActionOperator::execProfession()
{
return true;
}
void FITKActionOperator::preArgs()
{
}
}