CSmsEditorBuffer Class Reference
class CSmsEditorBuffer : public CSmsBufferBase
|
SMS buffer, implemented as a thin wrapper over
CEditableText
.
This class is designed to be used by the Message Server, which stores SMS text as CRichText, which is derived from
CEditableText
.
Constructor & Destructor Documentation
CSmsEditorBuffer(CEditableText &)
~CSmsEditorBuffer()
IMPORT_C
|
~CSmsEditorBuffer
|
(
|
)
|
|
Destructor.
-
capability
-
None
Member Functions Documentation
DeleteL(TInt, TInt)
IMPORT_C void
|
DeleteL
|
(
|
TInt
|
aPos,
|
|
TInt
|
aLength
|
|
)
|
[virtual]
|
Deletes data from the buffer.
Parameters
TInt
aPos
|
Position in the buffer to delete the data
|
TInt
aLength
|
The amount of data to delete from the buffer
|
Extract(TDes &, TInt, TInt)
IMPORT_C void
|
Extract
|
(
|
TDes
&
|
aBuf,
|
|
TInt
|
aPos,
|
|
TInt
|
aLength
|
|
)
|
const [virtual]
|
Extracts buffer data to a descriptor.
Parameters
TDes
& aBuf
|
On return, buffer data
|
TInt
aPos
|
Position within buffer to begin reading
|
TInt
aLength
|
The amount of data to read from the buffer
|
InsertL(TInt, const TDesC &)
IMPORT_C void
|
InsertL
|
(
|
TInt
|
aPos,
|
|
const
TDesC
&
|
aBuf
|
|
)
|
[virtual]
|
Inserts data into the buffer.
Parameters
TInt
aPos
|
Position in the buffer to insert the data
|
const
TDesC
& aBuf
|
The data to insert into the buffer
|
Length()
IMPORT_C
TInt
|
Length
|
(
|
)
|
const [virtual]
|
Gets the number of characters in the buffer.
NewL(CEditableText &)
Allocates and constructs the buffer.
Reset()
IMPORT_C void
|
Reset
|
(
|
)
|
[virtual]
|
Reset the buffer.
-
capability
-
None
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.