|
@@ -160,15 +160,18 @@ MainWindow::MainWindow(QWidget *parent) :
|
|
|
std::cout<<strpath.toStdString()<<std::endl;
|
|
|
iv::xmlparam::Xmlparam xp(strpath.toStdString());
|
|
|
|
|
|
- std::string xmlmsgname = xp.GetParam("msgname","image00");
|
|
|
+ std::string strxmlmsgname0 = xp.GetParam("msgname0","image00");
|
|
|
+ std::string strxmlmsgname1 = xp.GetParam("msgname1","image01");
|
|
|
+ std::string strxmlmsgname2 = xp.GetParam("msgname2","image02");
|
|
|
+ std::string strxmlmsgname3 = xp.GetParam("msgname3","image03");
|
|
|
|
|
|
// mpa = iv::modulecomm::RegisterRecv(xmlmsgname.data(),Listenpic);
|
|
|
|
|
|
void * pa[4];
|
|
|
- pa[0] =iv::modulecomm::RegisterRecv("image00",Listenpics0);
|
|
|
- pa[1] =iv::modulecomm::RegisterRecv("image01",Listenpics1);
|
|
|
- pa[2] =iv::modulecomm::RegisterRecv("image02",Listenpics2);
|
|
|
- pa[3] =iv::modulecomm::RegisterRecv("image04",Listenpics3);
|
|
|
+ pa[0] =iv::modulecomm::RegisterRecv(strxmlmsgname0.data(),Listenpics0);
|
|
|
+ pa[1] =iv::modulecomm::RegisterRecv(strxmlmsgname1.data(),Listenpics1);
|
|
|
+ pa[2] =iv::modulecomm::RegisterRecv(strxmlmsgname2.data(),Listenpics2);
|
|
|
+ pa[3] =iv::modulecomm::RegisterRecv(strxmlmsgname3.data(),Listenpics3);
|
|
|
|
|
|
connect(&mTimer,SIGNAL(timeout()),this,SLOT(onTimer()));
|
|
|
#ifdef Q_OS_WIN32
|