#include <gsmubuf.h>
class CSmsEditorBuffer : public CSmsBufferBase |
Public Member Functions | |
---|---|
~CSmsEditorBuffer() | |
virtual IMPORT_C void | DeleteL(TInt, TInt) |
virtual IMPORT_C void | Extract(TDes &, TInt, TInt) |
virtual IMPORT_C void | InsertL(TInt, const TDesC &) |
virtual IMPORT_C TInt | Length() |
IMPORT_C CSmsEditorBuffer * | NewL(CEditableText &) |
virtual IMPORT_C void | Reset() |
Inherited Enumerations | |
---|---|
CSmsBufferBase:@197 |
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.
Reimplemented from CSmsBufferBase::DeleteL(TInt,TInt)
Deletes data from the buffer.
Parameter | Description |
---|---|
aPos | Position in the buffer to delete the data |
aLength | The amount of data to delete from the buffer |
Reimplemented from CSmsBufferBase::Extract(TDes &,TInt,TInt)const
Extracts buffer data to a descriptor.
Parameter | Description |
---|---|
aBuf | On return, buffer data |
aPos | Position within buffer to begin reading |
aLength | The amount of data to read from the buffer |
Reimplemented from CSmsBufferBase::InsertL(TInt,const TDesC &)
Inserts data into the buffer.
Parameter | Description |
---|---|
aPos | Position in the buffer to insert the data |
aBuf | The data to insert into the buffer |
IMPORT_C TInt | Length | ( | ) | const [virtual] |
Reimplemented from CSmsBufferBase::Length()const
Gets the number of characters in the buffer.
Returns: The number of characters in the buffer.
IMPORT_C CSmsEditorBuffer * | NewL | ( | CEditableText & | aText | ) | [static] |
Allocates and constructs the buffer.
Parameter | Description |
---|---|
aText | Text object to use as buffer |
Returns: New CSmsEditorBuffer object
IMPORT_C void | Reset | ( | ) | [virtual] |
Reimplemented from CSmsBufferBase::Reset()