change name to IAddressBook

This commit is contained in:
Thomas Mueller 2012-11-23 21:48:39 +01:00
parent fba8c776e1
commit 5b1dea56e5
1 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@
*/ */
namespace OC { namespace OC {
interface AddressBook { interface IAddressBook {
/** /**
* @return string defining the technical unique key * @return string defining the technical unique key
@ -165,16 +165,16 @@ namespace OCP {
} }
/** /**
* @param \OC\AddressBook $address_book * @param \OC\IAddressBook $address_book
*/ */
public static function registerAddressBook(\OC\AddressBook $address_book) { public static function registerAddressBook(\OC\IAddressBook $address_book) {
self::$address_books[$address_book->getKey()] = $address_book; self::$address_books[$address_book->getKey()] = $address_book;
} }
/** /**
* @param \OC\AddressBook $address_book * @param \OC\IAddressBook $address_book
*/ */
public static function unregisterAddressBook(\OC\AddressBook $address_book) { public static function unregisterAddressBook(\OC\IAddressBook $address_book) {
unset(self::$address_books[$address_book->getKey()]); unset(self::$address_books[$address_book->getKey()]);
} }
@ -191,7 +191,7 @@ namespace OCP {
} }
/** /**
* @var \OC\AddressBook[] which holds all registered address books * @var \OC\IAddressBook[] which holds all registered address books
*/ */
private static $address_books = array(); private static $address_books = array();
} }