26 lines
465 B
C++
26 lines
465 B
C++
#include "OtarcikCan.h"
|
|
|
|
COtarcikCan::COtarcikCan(QObject *parent) : QObject(parent)
|
|
{
|
|
mPCANInterface = new CPCANInterface;
|
|
}
|
|
|
|
COtarcikCan::~COtarcikCan()
|
|
{
|
|
delete mPCANInterface;
|
|
}
|
|
|
|
int COtarcikCan::Start()
|
|
{
|
|
w.show();
|
|
|
|
CGeneralMessagesLogDispatcher::instance()->BindGuiPageHandle(w.mGeneralStatusPage);
|
|
|
|
|
|
|
|
CGeneralMessagesLogDispatcher::instance()->AddLogMessage("OtarcikCan modules starting...");
|
|
|
|
mPCANInterface->Init();
|
|
return 0;
|
|
}
|