homescreen/src/qlibhomescreen.cpp
void QLibHomeScreen::init(int port, const QString &token)
{
    HMI_DEBUG("qlibhomescreen", "called.");
    string ctoken = token.toStdString();
    mp_hs = new LibHomeScreen();
    mp_hs->init(port, ctoken.c_str());

    myThis = this;
}
/**
 * init function
 *
 * call libhomescreen init function to connect to binder by websocket
 *
 * #### Parameters
 * - prot  : port from application
 * - token : token from application
 *
 * #### Return
 * - None
 *
 */
init function
call libhomescreen init function to connect to binder by websocket

prot  : port from application
- token : token from application

None
init function call libhomescreen init function to connect to binder by websocket prot : port from application - token : token from application None
void QLibHomeScreen::init(int port, const QString &token)
{
    HMI_DEBUG("qlibhomescreen", "called.");
    string ctoken = token.toStdString();
    mp_hs = new LibHomeScreen();
    mp_hs->init(port, ctoken.c_str());
    myThis = this;
}
void QLibHomeScreen :: init ( int port , const QString & token ) { HMI_DEBUG ( " " , " " ) ; string ctoken = token . toStdString ( ) ; mp_hs = new LibHomeScreen ( ) ; mp_hs -> init ( port , ctoken . c_str ( ) ) ; myThis = this ; }
init function
 call libhomescreen init function to connect to binder by websocket
init function call libhomescreen init function to connect to binder by websocket