mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 15:06:08 +03:00
Make XPC pointer publicly available
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
ae524c0346
commit
90c26c3eff
2 changed files with 7 additions and 0 deletions
|
@ -39,6 +39,8 @@ public:
|
||||||
|
|
||||||
[[nodiscard]] static bool fileProviderAvailable();
|
[[nodiscard]] static bool fileProviderAvailable();
|
||||||
|
|
||||||
|
[[nodiscard]] FileProviderXPC *xpc() const;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void createDebugArchiveForDomain(const QString &domainIdentifier, const QString &filename) const;
|
void createDebugArchiveForDomain(const QString &domainIdentifier, const QString &filename) const;
|
||||||
|
|
||||||
|
|
|
@ -102,5 +102,10 @@ void FileProvider::createDebugArchiveForDomain(const QString &domainIdentifier,
|
||||||
_xpc->createDebugArchiveForExtension(domainIdentifier, filename);
|
_xpc->createDebugArchiveForExtension(domainIdentifier, filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FileProviderXPC *FileProvider::xpc() const
|
||||||
|
{
|
||||||
|
return _xpc.get();
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace Mac
|
} // namespace Mac
|
||||||
} // namespace OCC
|
} // namespace OCC
|
||||||
|
|
Loading…
Reference in a new issue