Exemplo n.º 1
0
//-------------------------------------------------------------------------------------------------
SystemLog::SystemLog()
#if xENV_WIN
    :
    _handle(xNATIVE_HANDLE_NULL)
#endif
{
    _construct_impl( Path( Path::exe() ).fileBaseName() );
}
Exemplo n.º 2
0
//-------------------------------------------------------------------------------------------------
inline
SocketInit::SocketInit(
    cushort_t &a_versionMajor,
    cushort_t &a_versionMinor
)
{
    _construct_impl(a_versionMajor, a_versionMinor);
}
Exemplo n.º 3
0
//-------------------------------------------------------------------------------------------------
SystemLog::SystemLog(
    std::ctstring_t &a_logName
)
#if xENV_WIN
    :
    _handle(xNATIVE_HANDLE_NULL)
#endif
{
    _construct_impl(a_logName);
}
Exemplo n.º 4
0
//-------------------------------------------------------------------------------------------------
IpcSemaphore::IpcSemaphore() :
#if   xENV_WIN
    _handle(),
#elif xENV_UNIX
    _handle(xPTR_NULL),
#endif
    _name  ()
{
    xTEST_EQ(_isValid(), false);

    _construct_impl();
}
Exemplo n.º 5
0
//-------------------------------------------------------------------------------------------------
Console::Console()
#if xENV_WIN
    :
    _wnd          (xPTR_NULL),
    _menu         (xPTR_NULL),
    _stdIn        (),
    _stdOut       (),
    _attributesDef(0)
#endif
{
    _construct_impl();
}