Soundux/src/helper/misc/misc.hpp
Curve 48132d86b9
refactor: audiobackend code, ui.hpp, iconfetcher, structure
- 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.
2021-05-22 16:41:36 +02:00

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