mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-25 22:46:04 +03:00
Expose socket server in FileProvider class
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
449092747b
commit
8bc1fce88e
2 changed files with 6 additions and 0 deletions
|
@ -41,6 +41,7 @@ public:
|
||||||
|
|
||||||
[[nodiscard]] FileProviderXPC *xpc() const;
|
[[nodiscard]] FileProviderXPC *xpc() const;
|
||||||
[[nodiscard]] FileProviderDomainManager *domainManager() const;
|
[[nodiscard]] FileProviderDomainManager *domainManager() const;
|
||||||
|
[[nodiscard]] FileProviderSocketServer *socketServer() const;
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void configureXPC();
|
void configureXPC();
|
||||||
|
|
|
@ -107,5 +107,10 @@ FileProviderDomainManager *FileProvider::domainManager() const
|
||||||
return _domainManager.get();
|
return _domainManager.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FileProviderSocketServer *FileProvider::socketServer() const
|
||||||
|
{
|
||||||
|
return _socketServer.get();
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace Mac
|
} // namespace Mac
|
||||||
} // namespace OCC
|
} // namespace OCC
|
||||||
|
|
Loading…
Reference in a new issue