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.
wheeldetect/tpvs17/tpMain/lpMain.cpp

30 lines
376 B
C++

#include "lpMain.h"
#pragma execution_character_set("utf-8")
IMAINWIDGET_API IMainWidget* MainWidget_Create()
{
return new lpMain();
}
IMAINWIDGET_API void MainWidget_Delete(IMainWidget* pwd)
{
if (pwd) {
delete pwd;
pwd = nullptr;
}
}
lpMain::lpMain(QObject *parent /*= nullptr*/)
{
}
lpMain::~lpMain()
{
}
QWidget * lpMain::getMainWidget()
{
return &m_wid;
}