06aef4e8b1
This reverts commit 6a1a4880f0
.
26 lines
588 B
PHP
26 lines
588 B
PHP
<?php
|
|
/**
|
|
* Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
* later.
|
|
* See the COPYING-README file.
|
|
*/
|
|
|
|
namespace OCP\Files\Config;
|
|
|
|
use OCP\Files\Storage\IStorageFactory;
|
|
use OCP\IUser;
|
|
|
|
/**
|
|
* Provides
|
|
*/
|
|
interface IMountProvider {
|
|
/**
|
|
* Get all mountpoints applicable for the user
|
|
*
|
|
* @param \OCP\IUser $user
|
|
* @param \OCP\Files\Storage\IStorageFactory $loader
|
|
* @return \OCP\Files\Mount\IMountPoint[]
|
|
*/
|
|
public function getMountsForUser(IUser $user, IStorageFactory $loader);
|
|
}
|