[ekiga/ds-opal-refactoring: 1/3] Addressbook: Made iterator public so they can be referenced.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-opal-refactoring: 1/3] Addressbook: Made iterator public so they can be referenced.
- Date: Sun, 15 Mar 2015 17:00:42 +0000 (UTC)
commit 1672c4fc908d4077c9916108ff19b7dd1bdc7876
Author: Damien Sandras <dsandras seconix com>
Date: Sun Mar 15 17:46:55 2015 +0100
Addressbook: Made iterator public so they can be referenced.
lib/engine/addressbook/source-impl.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/addressbook/source-impl.h b/lib/engine/addressbook/source-impl.h
index 88474da..594b585 100644
--- a/lib/engine/addressbook/source-impl.h
+++ b/lib/engine/addressbook/source-impl.h
@@ -117,7 +117,9 @@ namespace Ekiga
*/
void remove_book (boost::shared_ptr<BookType> book);
- protected:
+ public:
+ typedef typename RefLister<BookType>::const_iterator const_iterator;
+ typedef typename RefLister<BookType>::iterator iterator;
/** Returns an iterator to the first Book of the collection
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]