Fix build: synchronize Request API, fix GmailSynchronizer, and migrate UI to Qt6 Widgets

This commit is contained in:
2026-06-17 22:44:27 +02:00
parent dcb7c52269
commit 0e9f620fe0
348 changed files with 118736 additions and 1207 deletions
+24
View File
@@ -0,0 +1,24 @@
// accountservice.h
#ifndef ACCOUNTSERVICE_H
#define ACCOUNTSERVICE_H
#include "authenticator.h"
#include "eventbus.h"
#include <QString>
class AccountService {
public:
AccountService(EventBus* bus);
// Interface for managing user accounts
bool registerAccount(const QString& type, const QString& identifier, const QString& credentials);
bool syncAccount(const QString& accountId, const QString& type);
private:
EventBus* m_eventBus;
// Placeholder for DAO layer (Data Access Objects)
// In a full implementation, these would handle DB/file operations.
bool saveAccountToDB(const QString& accountId, const QString& type, const QString& details);
};
#endif // ACCOUNTSERVICE_H