diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-24 15:25:52 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2015-03-24 15:59:44 +0100 |
commit | be3dc27fbfd5c27590ef136e2d37a2dcbf2f660b (patch) | |
tree | 9eca17e57c1d543ec6d82bebb7ea4dade687c654 /sw/inc/calbck.hxx | |
parent | 2c47eb3df9c6fe8e77bf8f4f4a04f8e5a3224368 (diff) |
update docs
Change-Id: I94ceaafd34caba48965ee58c1fcd9a88bce416f8
Diffstat (limited to 'sw/inc/calbck.hxx')
-rw-r--r-- | sw/inc/calbck.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sw/inc/calbck.hxx b/sw/inc/calbck.hxx index 101baf4f6601..04cd54b1f890 100644 --- a/sw/inc/calbck.hxx +++ b/sw/inc/calbck.hxx @@ -51,14 +51,11 @@ class SfxHint; SwClient objects. The SwDepend class allows to handle their notifications in the same notification callback as it forwards the Modify() calls it receives to a "master" SwClient implementation. - The SwClientIter class allows to iterate over the SwClient objects registered at an + The SwIterator class allows to iterate over the SwClient objects registered at an SwModify. For historical reasons its ability to use TypeInfo to restrict this iteration to objects of a particular type created a lot of code that misuses SwClient-SwModify - relationships that basically should be used only for Modify() callbacks. + relationships that basically should be used only for Modify/Notify callbacks. This is still subject to refactoring. - Until this gets resolved, new SwClientIter base code should be reduced to the absolute - minimum and it also should be wrapped by SwIterator templates that prevent that the - code gets polluted by pointer casts (see switerator.hxx). */ class SwModify; |