Esempio n. 1
0
NNTDECL_PRIVATE_END_CXX

PlayBuffer::PlayBuffer()
    : stream(NULL)
{
    NNTDECL_PRIVATE_CONSTRUCT(PlayBuffer);
}
Esempio n. 2
0
NNTDECL_PRIVATE_END_CXX

IMClient::IMClient()
{
    NNTDECL_PRIVATE_CONSTRUCT(IMClient);
    
    // register handle.
    // register presence.
    PresenceFactory* fac_pres = _response_factory()->factory_presence();
    fac_pres->register_object(im::Show::FacObj);
    fac_pres->register_object(im::Priority::FacObj);
    fac_pres->register_object(im::XPhoto::FacObj);
    fac_pres->register_object(xep::muc::Presence::FacObj);
    
    // register message.
    MessageFactory* fac_msg = _response_factory()->factory_message();
    fac_msg->register_object(im::Composing::FacObj);
    fac_msg->register_object(im::Message::FacObj);
    fac_msg->register_object(im::Active::FacObj);
    fac_msg->register_object(xep::HtmlMessage::FacObj);
    fac_msg->register_object(xep::Subject::FacObj);
    
    // register iq.
    InfoqueryFactory* fac_iq = _response_factory()->factory_iq();
    fac_iq->register_object(xep::Version::FacObj);
}
Esempio n. 3
0
NNTDECL_PRIVATE_END

HttpServer::HttpServer()
{
    NNTDECL_PRIVATE_CONSTRUCT(HttpServer);

    // use python as default script interpreter.
    script::UsePython();
}
Esempio n. 4
0
NNTDECL_PRIVATE_END_CXX

Buffer::Buffer()
{
    NNTDECL_PRIVATE_CONSTRUCT(Buffer);

# ifdef NNT_MACH

    queue = NULL;
    stm = NULL;
    used = false;

# endif

    seconds = 0.5f;
}
Esempio n. 5
0
NNTDECL_PRIVATE_END_CXX

Logger::Logger()
{
    NNTDECL_PRIVATE_CONSTRUCT(Logger);
}
Esempio n. 6
0
NNTDECL_PRIVATE_END_CXX

RecordBuffer::RecordBuffer()
{
    NNTDECL_PRIVATE_CONSTRUCT(RecordBuffer);
}
Esempio n. 7
0
Bdb::Bdb()
{
    NNTDECL_PRIVATE_CONSTRUCT(Bdb);
}
Esempio n. 8
0
NNTDECL_PRIVATE_END_CXX

MainController::MainController()
{
    NNTDECL_PRIVATE_CONSTRUCT(MainController);
}
Esempio n. 9
0
Sqlite::Sqlite()
{
    NNTDECL_PRIVATE_CONSTRUCT(Sqlite);
}
Esempio n. 10
0
PostgreSql::PostgreSql()
{
    NNTDECL_PRIVATE_CONSTRUCT(PostgreSql);
}
Esempio n. 11
0
NNTDECL_PRIVATE_END_CXX

ecc::ecc()
{
    NNTDECL_PRIVATE_CONSTRUCT(ecc);
}
Esempio n. 12
0
NNTDECL_PRIVATE_END_CXX

SmtpClient::SmtpClient()
{
    NNTDECL_PRIVATE_CONSTRUCT(SmtpClient);
}
Esempio n. 13
0
SqlServer::SqlServer()
{
    NNTDECL_PRIVATE_CONSTRUCT(SqlServer);
}
Esempio n. 14
0
NNTDECL_PRIVATE_END_CXX

SocketClientAsync::SocketClientAsync()
{
    NNTDECL_PRIVATE_CONSTRUCT(SocketClientAsync);
}
Esempio n. 15
0
NNTDECL_PRIVATE_END_CXX

SocketClient::SocketClient()
{
    NNTDECL_PRIVATE_CONSTRUCT(SocketClient);
}
Esempio n. 16
0
NNTDECL_PRIVATE_END_CXX

Device::Device()
{
    NNTDECL_PRIVATE_CONSTRUCT(Device);
}