27 lines
588 B
PHP
27 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);
|
|
}
|