classes/CCurl.cpp
CCurl::CCurl()
    {
        if (!m_globalInitialised)
        {
            curl_global_init(CURL_GLOBAL_DEFAULT);
            m_globalInitialised = true;
        }
        m_curlConnection = curl_easy_init();
        if (m_curlConnection == NULL)
        {
            throw Exception("Failed to create CURL connection.");
        }
        m_errorBuffer.resize(CURL_ERROR_SIZE);
        m_errorBuffer[0] = '\0';
    }
// =======================
// PUBLIC STATIC VARIABLES
// =======================
// ===============
// PRIVATE METHODS
// ===============
// ==============
// PUBLIC METHODS
// ==============
//
// Main Curl object constructor.
//
PUBLIC STATIC VARIABLES
PRIVATE METHODS

PUBLIC METHODS

Main Curl object constructor.
PUBLIC STATIC VARIABLES PRIVATE METHODS PUBLIC METHODS Main Curl object constructor .
CCurl::CCurl()
    {
        if (!m_globalInitialised)
        {
            curl_global_init(CURL_GLOBAL_DEFAULT);
            m_globalInitialised = true;
        }
        m_curlConnection = curl_easy_init();
        if (m_curlConnection == NULL)
        {
            throw Exception("Failed to create CURL connection.");
        }
        m_errorBuffer.resize(CURL_ERROR_SIZE);
        m_errorBuffer[0] = '\0';
    }
CCurl :: CCurl ( ) { if ( ! m_globalInitialised ) { curl_global_init ( CURL_GLOBAL_DEFAULT ) ; m_globalInitialised = true ; } m_curlConnection = curl_easy_init ( ) ; if ( m_curlConnection == NULL ) { throw Exception ( " " ) ; } m_errorBuffer . resize ( CURL_ERROR_SIZE ) ; m_errorBuffer [ 0 ] = ' \0 ' ; }
PUBLIC STATIC VARIABLES
PRIVATE METHODS
PUBLIC STATIC VARIABLES PRIVATE METHODS