/** Attempt to consume opcode. If the opcode is not consumed then the base class ServiceL() is called. */ TInt CViewSubSession::ServiceL(const RMessage2& aMessage) { switch (aMessage.Function()) { case ECntViewSortOrderExternalizedSize: ExternalizedSortOrderSizeL(aMessage); break; case ECntGetViewSortOrder: GetSortOrderL(aMessage); break; default: return CViewSubSessionBase::ServiceL(aMessage); } return 0; }
/** @capability ReadUserData */ const RContactViewSortOrder& RContactRemoteView::SortOrderL() { iSortOrder.Close(); GetSortOrderL(iSortOrder); return iSortOrder; }