File system refactoring

This commit is contained in:
elasota
2019-12-29 06:38:18 -05:00
parent b24505164d
commit 430842d17b
74 changed files with 874 additions and 1240 deletions

View File

@@ -25,12 +25,12 @@ struct CGraf final
{
}
int Init(const Rect &rect, GpPixelFormat_t pixelFormat)
PLError_t Init(const Rect &rect, GpPixelFormat_t pixelFormat)
{
if (int errorCode = m_port.Init(rect, pixelFormat))
if (PLError_t errorCode = m_port.Init(rect, pixelFormat))
return errorCode;
return 0;
return PLErrors::kNone;
}
bool Resize(const Rect &rect)