Use accountfwd header for account forward declaration in account header itself, preve...
authorClaudio Cambra <claudio.cambra@nextcloud.com>
Tue, 25 Jun 2024 10:35:57 +0000 (18:35 +0800)
committerClaudio Cambra <claudio.cambra@nextcloud.com>
Wed, 26 Jun 2024 07:36:35 +0000 (15:36 +0800)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
src/libsync/account.h

index b7702e525fdf8ee3f6daf1a819f304f9924a83a6..0ac43606c0d61af7ef5f5c16174bcf61dd5784e0 100644 (file)
@@ -31,6 +31,7 @@
 #include <QPixmap>
 #endif
 
+#include "accountfwd.h"
 #include "capabilities.h"
 #include "clientsideencryption.h"
 #include "clientstatusreporting.h"
@@ -53,8 +54,6 @@ class ReadPasswordJob;
 namespace OCC {
 
 class AbstractCredentials;
-class Account;
-using AccountPtr = QSharedPointer<Account>;
 class AccessManager;
 class SimpleNetworkJob;
 class PushNotifications;