1
0
mirror of synced 2024-12-05 04:27:56 +01:00
ImHex/lib/libimhex/source/ui/toast.cpp

17 lines
348 B
C++
Raw Normal View History

2023-12-19 23:21:20 +01:00
#include <hex/ui/toast.hpp>
namespace hex::impl {
[[nodiscard]] std::list<std::unique_ptr<ToastBase>> &ToastBase::getQueuedToasts() {
static std::list<std::unique_ptr<ToastBase>> queuedToasts;
return queuedToasts;
}
std::mutex& ToastBase::getMutex() {
static std::mutex mutex;
return mutex;
}
}