mirror of
https://github.com/wiiu-env/WiiUPluginLoaderBackend.git
synced 2024-11-06 04:55:07 +01:00
cc5acd0980
- avoid using const std::unique_ptr& and const std::shared_ptr& - avoid wrapping results in std::optional - prefer std::string_view over const std::string& - update FSUtils::LoadFileToMem to write into std::vector<uint8_t> - use std::span when possible - Avoid unnessecary copies in PluginDataFactory - allocate plugins as HeapMemoryFixedSize which bascially is a std::unique_ptr with fixed size
11 lines
251 B
C++
11 lines
251 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
void StartNotificationThread();
|
|
|
|
void StopNotificationThread();
|
|
|
|
bool DisplayInfoNotificationMessage(std::string_view text, float duration);
|
|
|
|
bool DisplayErrorNotificationMessage(std::string_view text, float duration); |