Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions lib/public/Theme/ITheme.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,43 +22,43 @@
/**
* The representation of a Theme.
* @package OCP\Theme
* @since 10.0.1
* @since 10.0.3
*/
interface ITheme {

/**
* @return string
* @since 10.0.1
* @since 10.0.3
*/
public function getName();

/**
* @return string
* @since 10.0.1
* @since 10.0.3
*/
public function getDirectory();

/**
* @return string
* @since 10.0.1
* @since 10.0.3
*/
public function getWebPath();

/**
* @param string $name
* @since 10.0.1
* @since 10.0.3
*/
public function setName($name);

/**
* @param string $directory
* @since 10.0.1
* @since 10.0.3
*/
public function setDirectory($directory);

/**
* @param string $webPath
* @since 10.0.1
* @since 10.0.3
*/
public function setWebPath($webPath);
}
10 changes: 5 additions & 5 deletions lib/public/Theme/IThemeService.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,28 @@

/**
* @package OCP\Theme
* @since 10.0.1
* @since 10.0.3
*/
interface IThemeService {

/**
* Returns the currently active theme.
* @return ITheme
* @since 10.0.1
* @since 10.0.3
*/
public function getTheme();

/**
* Sets an app as the active theme.
* @param string $themeName
* @since 10.0.1
* @since 10.0.3
*/
public function setAppTheme($themeName = '');

/**
* Gets legacy and app themes as an array of ITheme's.
* @return ITheme[]
* @since 10.0.1
* @since 10.0.3
*/
public function getAllThemes();

Expand All @@ -51,7 +51,7 @@ public function getAllThemes();
* with that name.
* @param string $themeName
* @return ITheme|false
* @since 10.0.1
* @since 10.0.3
*/
public function findTheme($themeName);
}