finalyze moving

This commit is contained in:
2025-03-12 14:28:04 +03:00
parent f840006398
commit 033bbce220
774 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
#pragma once
#include <string>
#include <vector>
class MessageManager
{
private:
static std::vector<std::wstring> cachedMessages;
static int WinHandler;
static int Started;
static std::wstring firstLvlMessage;
static std::wstring secondLvlMessage;
static void sendMessage(const std::wstring &toSend);
public:
static void clearCache() { cachedMessages.clear(); }
static void setWinHandler(const int winH);
static void sendFirstLvl(const std::wstring &str)
{
firstLvlMessage = str;
sendMessage(firstLvlMessage);
}
static void sendSecondLvl(const std::wstring &str)
{
secondLvlMessage = str;
sendMessage(firstLvlMessage + L"\n" + secondLvlMessage);
}
static void sendProgress(const std::wstring& str);
static int init();
};
void sendMessage_1lvl(const std::wstring& toSend);
void sendMessage_2lvl(const std::wstring& toSend);
void sendMessage_progress(const std::wstring& toSend);
unsigned int GetPid();