Windows2003-3790/windows/advcore/duser/engine/services/globals.inl
2020-09-30 16:53:55 +02:00

32 lines
692 B
C++

#if !defined(SERVICES__Globals_inl__INCLUDED)
#define SERVICES__Globals_inl__INCLUDED
#pragma once
#include "Thread.h"
//------------------------------------------------------------------------------
inline GdiCache *
GetGdiCache()
{
return GetThread()->GetGdiCache();
}
//------------------------------------------------------------------------------
inline BufferManager *
GetBufferManager()
{
return GetThread()->GetBufferManager();
}
//------------------------------------------------------------------------------
inline ComManager *
GetComManager()
{
return GetThread()->GetComManager();
}
#endif // SERVICES__Globals_inl__INCLUDED