#include <gsmubuf.h>
Link against: gsmu.lib
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:@88 |
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.
Parameters | |
---|---|
aPos | Position in the buffer to delete the data |
aLength | The amount of data to delete from the buffer |
Capability | |
---|---|
None |
Reimplemented from CSmsBufferBase::Extract(TDes &,TInt,TInt)const
Extracts buffer data to a descriptor.
Parameters | |
---|---|
aBuf | On return, buffer data |
aPos | Position within buffer to begin reading |
aLength | The amount of data to read from the buffer |
Capability | |
---|---|
None |
Reimplemented from CSmsBufferBase::InsertL(TInt,const TDesC &)
Inserts data into the buffer.
Parameters | |
---|---|
aPos | Position in the buffer to insert the data |
aBuf | The data to insert into the buffer |
Capability | |
---|---|
None |
IMPORT_C TInt | Length | ( | ) | const [virtual] |
Reimplemented from CSmsBufferBase::Length()const
Gets the number of characters in the buffer.
Capability | |
---|---|
None |
IMPORT_C CSmsEditorBuffer * | NewL | ( | CEditableText & | aText | ) | [static] |
Allocates and constructs the buffer.
Parameters | |
---|---|
aText | Text object to use as buffer |
Capability | |
---|---|
None |
IMPORT_C void | Reset | ( | ) | [virtual] |
Reimplemented from CSmsBufferBase::Reset()
Capability | |
---|---|
None |