- Changed Structure (Moved Settings, Data and Enums into own header files) - Changed how AudioBackend is created to fix issues (fixes #208) - Made AudioBackend switch to pipewire when pipewire-pulse was detected as server in pulseaudio - Refactored Code for IconFetcher and moved getPpid from misc into IconFetcher - Removed unused code in proccessingqueue, renamed processingqueue to queue.
21 lines
551 B
C++
21 lines
551 B
C++
#pragma once
|
|
#include <optional>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace Soundux
|
|
{
|
|
namespace Helpers
|
|
{
|
|
#if defined(_WIN32)
|
|
std::wstring widen(const std::string &);
|
|
std::string narrow(const std::wstring &);
|
|
#endif
|
|
bool deleteFile(const std::string &, bool = true);
|
|
|
|
bool run(const std::string &);
|
|
std::pair<std::string, bool> getResultCompact(const std::string &);
|
|
std::pair<std::vector<std::string>, bool> getResult(const std::string &);
|
|
|
|
} // namespace Helpers
|
|
} // namespace Soundux
|