CDefaultRecordAccess Class Reference
class CDefaultRecordAccess : public CBase |
Constructor & Destructor Documentation
CDefaultRecordAccess(const TDesC &)
CDefaultRecordAccess | ( | const TDesC & | aName | ) | |
Member Functions Documentation
Close()
Close the table, but don't reset the ID, so the next time we open a new record, we can work out if it is a different one or not.
CloseTable()
void | CloseTable | ( | ) | [private] |
Name()
TPtrC
| Name | ( | ) | const [inline] |
OpenRecordL(CCommsDatabase *, TUint32)
Close the view if there is one already open. If this has been overriden then use the original ID given to us, if not, then use the new one. Open the view on the table and position to the correct record.
OpenRecordL(CCommsDatabase *, TUint32, const TDesC &)
Open the record, from the table with aName. If the name of the table, or the ID of the record have changed, then return ETrue to signify a change in service.
SetOverridden(TBool, TUint32)
Set whether this is an overridden record and the ID to use when we open the table. Return, if this is an override, if the ID has changed. If it is not a override, this will be checked when the record is opened. If this is not an override them ignore the ID as it will be given again when the record is opened.
Member Data Documentation
TBuf< KCommsDbSvrMaxColumnNameLength > iName
TBool
iOverridden
TBool
| iOverridden | [private] |
CCommsDbTableView * iTable
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.