1
0
mirror of synced 2024-11-15 11:33:23 +01:00
ImHex/lib/libimhex/source/ui/popup.cpp

20 lines
349 B
C++
Raw Normal View History

#include <hex/ui/popup.hpp>
namespace hex::impl {
[[nodiscard]] std::vector<std::unique_ptr<PopupBase>> &PopupBase::getOpenPopups() {
static std::vector<std::unique_ptr<PopupBase>> openPopups;
return openPopups;
}
2023-12-19 23:21:20 +01:00
std::mutex& PopupBase::getMutex() {
static std::mutex mutex;
return mutex;
}
}