Initial commit

This commit is contained in:
user
2026-07-12 14:34:52 +04:00
commit 3abf6bd9c2
557 changed files with 68706 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef REPOSITORY_RESULT_H
#define REPOSITORY_RESULT_H
#include <QString>
// Represents the result of an operation in a repository
struct RepositoryResult {
QString errorMessage; // Error message if the operation failed
bool success; // Indicates whether the operation was successful
// Creates a successful result
static RepositoryResult successResult();
// Creates a failed result with an error message
static RepositoryResult failureResult(const QString &error);
};
#endif // REPOSITORY_RESULT_H