/** CCntPplViewSession second phase constructor. */ void CCntPplViewSession::ConstructL(const CContactTextDef& aTextDef) { //Constructing iCntSqlStatement, iTextDef, and iIsFastAccessFieldsOnly //by simply call ChangeSortOrderL CTimer::ConstructL(); iContactsFile.AddSqlDBObserverL( *this ); ChangeSortOrderL(aTextDef); }
/** Attempt to consume opcode. If the opcode is not consumed then the base class ServiceL() is called. */ TInt CNamedViewSubSession::ServiceL(const RMessage2& aMessage) { switch (aMessage.Function()) { case ECntChangeViewSortOrder: ChangeSortOrderL(aMessage); break; default: return CViewSubSession::ServiceL(aMessage); } return 0; }