Expose socket server in FileProvider class

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2024-07-17 17:24:11 +08:00
parent 449092747b
commit 8bc1fce88e
No known key found for this signature in database
GPG key ID: C839200C384636B0
2 changed files with 6 additions and 0 deletions

View file

@ -41,6 +41,7 @@ public:
[[nodiscard]] FileProviderXPC *xpc() const;
[[nodiscard]] FileProviderDomainManager *domainManager() const;
[[nodiscard]] FileProviderSocketServer *socketServer() const;
private slots:
void configureXPC();

View file

@ -107,5 +107,10 @@ FileProviderDomainManager *FileProvider::domainManager() const
return _domainManager.get();
}
FileProviderSocketServer *FileProvider::socketServer() const
{
return _socketServer.get();
}
} // namespace Mac
} // namespace OCC