2013-09-20 09:46:11 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace OCP;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This class provides avatar functionality
|
|
|
|
*/
|
|
|
|
|
|
|
|
interface IAvatarManager {
|
|
|
|
|
|
|
|
/**
|
2014-05-19 15:50:53 +00:00
|
|
|
* return a user specific instance of \OCP\IAvatar
|
2013-11-21 22:40:25 +00:00
|
|
|
* @see \OCP\IAvatar
|
2014-05-11 20:51:30 +00:00
|
|
|
* @param string $user the ownCloud user id
|
2013-11-21 22:40:25 +00:00
|
|
|
* @return \OCP\IAvatar
|
2013-09-20 09:46:11 +00:00
|
|
|
*/
|
2013-11-21 22:40:25 +00:00
|
|
|
function getAvatar($user);
|
2013-09-20 09:46:11 +00:00
|
|
|
}
|