1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-21 18:11:11 +00:00

Remove irr namespace (#16309)

This commit is contained in:
Lars Müller 2025-07-09 10:35:52 +02:00 committed by GitHub
parent 7e22c72492
commit 61551cfc3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
381 changed files with 680 additions and 1632 deletions

View file

@ -14,8 +14,6 @@
#include "IFileList.h"
#include "os.h"
namespace irr
{
namespace gui
{
@ -152,13 +150,13 @@ const wchar_t *CGUIFileOpenDialog::getDirectoryNameW() const
return FileDirectoryFlatW.c_str();
}
void CGUIFileOpenDialog::setFileName(const irr::io::path &name)
void CGUIFileOpenDialog::setFileName(const io::path &name)
{
FileName = name;
pathToStringW(FileNameW, FileName);
}
void CGUIFileOpenDialog::setDirectoryName(const irr::io::path &name)
void CGUIFileOpenDialog::setDirectoryName(const io::path &name)
{
FileDirectory = name;
FileDirectoryFlat = name;
@ -307,7 +305,7 @@ void CGUIFileOpenDialog::draw()
IGUIElement::draw();
}
void CGUIFileOpenDialog::pathToStringW(irr::core::stringw &result, const irr::io::path &p)
void CGUIFileOpenDialog::pathToStringW(core::stringw &result, const io::path &p)
{
core::multibyteToWString(result, p);
}
@ -365,4 +363,3 @@ void CGUIFileOpenDialog::sendCancelEvent()
}
} // end namespace gui
} // end namespace irr