messagingapp/msgutils/unieditorutils/editorgenutils/inc/UniEditorGenUtils.h
changeset 70 a15d9966050f
parent 52 12db4185673b
equal deleted inserted replaced
61:8ba0afbb4637 70:a15d9966050f
   185          * @param addr address string
   185          * @param addr address string
   186          * @return ETrue if addr is valid email address
   186          * @return ETrue if addr is valid email address
   187          */
   187          */
   188         TBool IsValidEmailAddress( const TDesC& aAddress );
   188         TBool IsValidEmailAddress( const TDesC& aAddress );
   189         
   189         
       
   190         /**
       
   191          * Verifies if the given two numbers are same
       
   192          * @param aFirstNumber, phone number to be matched
       
   193          * @param aSecondNumber, phone number to be matched
       
   194          * @return TBool, true if the numbers match
       
   195          */
       
   196         TBool MatchPhoneNumberL(TDesC& aFirstNumber, TDesC& aSecondNumber);
       
   197         
   190       private:
   198       private:
   191           /**
   199           /**
   192            * get sms character limits from feature manager
   200            * get sms character limits from feature manager
   193            * @param singlePartLength length of one part
   201            * @param singlePartLength length of one part
   194            * @param concatenatedPartLength total length over all parts
   202            * @param concatenatedPartLength total length over all parts
   234           /**
   242           /**
   235            * Read only once for optimization purpose
   243            * Read only once for optimization purpose
   236            * MMS size limit
   244            * MMS size limit
   237            */
   245            */
   238           int mMaxMmsSize;
   246           int mMaxMmsSize;
       
   247           
       
   248           /**
       
   249            * The amount of digits to be used in contact matching
       
   250            */
       
   251           int mMatchDigitCount;
   239     };
   252     };
   240 
   253 
   241 
   254 
   242 #endif //__UNIEDITOR_GEN_UTILS_H__
   255 #endif //__UNIEDITOR_GEN_UTILS_H__
   243 
   256