Logo Search packages:      
Sourcecode: libwfut version File versions  Download package

WFUTError WFUT::WFUTClient::init (  ) 

Initialise the WFUT object. This in turn will call IO::init which will initialise curl.

Definition at line 23 of file WFUT.cpp.

  assert (m_initialised == false);

  m_io = new IO();
  if (m_io->init()) {
    delete m_io;
    m_io = NULL;
  m_io->DownloadComplete.connect(sigc::mem_fun(this, &WFUTClient::onDownloadComplete));
  m_io->DownloadFailed.connect(sigc::mem_fun(this, &WFUTClient::onDownloadFailed));

  m_initialised = true;

  return WFUT_NO_ERROR;

Generated by  Doxygen 1.6.0   Back to index