25 lines
675 B
C++
25 lines
675 B
C++
/**
|
||
* @file ControlExtension.cpp
|
||
* @brief 所有控制类的基类,属于P.A.I MVC框架的一部分
|
||
* @date 2011-11-04
|
||
*/
|
||
// #include "PaiMessageBox.h"
|
||
// #include "ConsoleGUIService.h"
|
||
#include "ControlExtension.h"
|
||
// #include "Log.h"
|
||
|
||
using namespace pai;
|
||
|
||
ControlExtension::ControlExtension() :
|
||
IExtension()
|
||
{
|
||
|
||
}
|
||
|
||
void ControlExtension::ShowMessage(const QString& title, const QString& message)
|
||
{
|
||
// ConsoleGUIService* pServer = ::GetConsoleGUIService();
|
||
// pai::gui::PaiMessageBox::Information(pServer->GetMainWindow(), title, message);
|
||
// pai::log::Info(_FLF(QObject::tr("ControlExtension::ShowMessage").toStdString() + message.toStdString()));
|
||
}
|