Use accountfwd header for account forward declaration in account header itself, preventing conflicting decls

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-06-25 18:35:57 +08:00
parent 1689f7b613
commit 07d5e40ade

View file

@ -16,6 +16,7 @@
#ifndef SERVERCONNECTION_H
#define SERVERCONNECTION_H
#include "accountfwd.h"
#include "capabilities.h"
#include "clientsideencryption.h"
#include "clientstatusreporting.h"
@ -55,8 +56,6 @@ class ReadPasswordJob;
namespace OCC {
class AbstractCredentials;
class Account;
using AccountPtr = QSharedPointer<Account>;
class AccessManager;
class SimpleNetworkJob;
class PushNotifications;