sys: Added clang-format file, formatted entire project

This commit is contained in:
WerWolv
2022-01-24 20:53:17 +01:00
parent a66fec489c
commit 0e08b0226b
168 changed files with 5178 additions and 4866 deletions

View File

@@ -8,21 +8,18 @@ namespace hex {
class Task {
public:
Task(const std::string& unlocalizedName, u64 maxValue);
Task(const std::string &unlocalizedName, u64 maxValue);
~Task();
void setMaxValue(u64 maxValue);
void update(u64 currValue);
void finish();
[[nodiscard]]
double getProgress() const;
[[nodiscard]] double getProgress() const;
[[nodiscard]]
const std::string& getName() const;
[[nodiscard]] const std::string &getName() const;
[[nodiscard]]
bool isPending() const;
[[nodiscard]] bool isPending() const;
private:
std::string m_name;