mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-22 19:53:07 +00:00
24 lines
No EOL
1.1 KiB
C++
Executable file
24 lines
No EOL
1.1 KiB
C++
Executable file
#pragma once
|
|
#include <filesystem>
|
|
|
|
namespace inst::util {
|
|
void initApp ();
|
|
void deinitApp ();
|
|
void initInstallServices();
|
|
void deinitInstallServices();
|
|
bool ignoreCaseCompare(const std::string &a, const std::string &b);
|
|
std::vector<std::filesystem::path> getDirectoryFiles(const std::string & dir, const std::vector<std::string> & extensions);
|
|
std::vector<std::filesystem::path> getDirsAtPath(const std::string & dir);
|
|
bool removeDirectory(std::string dir);
|
|
bool copyFile(std::string inFile, std::string outFile);
|
|
std::string formatUrlString(std::string ourString);
|
|
std::string shortenString(std::string ourString, int ourLength, bool isFile);
|
|
std::string readTextFromFile(std::string ourFile);
|
|
std::string softwareKeyboard(std::string guideText, std::string initialText, int LenMax);
|
|
std::string getDriveFileName(std::string fileId);
|
|
std::vector<uint32_t> setClockSpeed(int deviceToClock, uint32_t clockSpeed);
|
|
std::string getIPAddress();
|
|
int getUsbState();
|
|
void playAudio(std::string audioPath);
|
|
std::vector<std::string> checkForAppUpdate();
|
|
} |