mirror of
https://github.com/Huntereb/Awoo-Installer
synced 2024-11-26 21:50:26 +00:00
22 lines
No EOL
1,000 B
C++
Executable file
22 lines
No EOL
1,000 B
C++
Executable file
#pragma once
|
|
#include <filesystem>
|
|
|
|
namespace inst::util {
|
|
void initApp ();
|
|
void deinitApp ();
|
|
void initInstallServices();
|
|
void deinitInstallServices();
|
|
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);
|
|
} |