diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-37D7019C-E3EF-5841-8691-5A865A2B5FD2.dita --- a/Symbian3/PDK/Source/GUID-37D7019C-E3EF-5841-8691-5A865A2B5FD2.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-37D7019C-E3EF-5841-8691-5A865A2B5FD2.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,28 +1,28 @@ - - - - - -Using -CCirBufferThis document describes how to use CCirBuffer. -
Before adding/removing objects

The buffer itself -is not allocated until the CCirBufBase::SetLengthL() member -function is called. Therefore, the first steps must always be to construct -the CCirBuffer object and then call its SetLengthL() member -function.

Also note that SetLengthL() can leave so -it's useful to call it under a trap harness.

... -CCirBuffer* cbInt=new CCirBuffer; -TRAPD(ret,cbInt->SetLengthL(3)); // max capacity is 3 - // and allocates buffer -cbInt->Put(123); // Can now start adding/removing integer objects -cbInt->Put(12); -cbInt->Put(1); -... -delete cbInt;
+ + + + + +Using +CCirBufferThis document describes how to use CCirBuffer. +
Before adding/removing objects

The buffer itself +is not allocated until the CCirBufBase::SetLengthL() member +function is called. Therefore, the first steps must always be to construct +the CCirBuffer object and then call its SetLengthL() member +function.

Also note that SetLengthL() can leave so +it's useful to call it under a trap harness.

... +CCirBuffer* cbInt=new CCirBuffer; +TRAPD(ret,cbInt->SetLengthL(3)); // max capacity is 3 + // and allocates buffer +cbInt->Put(123); // Can now start adding/removing integer objects +cbInt->Put(12); +cbInt->Put(1); +... +delete cbInt;
\ No newline at end of file