upnpmediaserver/contentdirectoryservice/inc/upnpcdutils.h
branchnew development branch with rendering state machine and other goodies
changeset 38 5360b7ddc251
parent 27 03808033c9a2
equal deleted inserted replaced
32:3785f754ee62 38:5360b7ddc251
    19 
    19 
    20 #ifndef CDUTILS_H
    20 #ifndef CDUTILS_H
    21 #define CDUTILS_H
    21 #define CDUTILS_H
    22 
    22 
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include <xml/dom/xmlengdom.h>
    24 #include <xmlengdom.h>
    25 #include <e32base.h>
    25 #include <e32base.h>
    26 
    26 
    27 
    27 
    28 // CLASS DECLARATION
    28 // CLASS DECLARATION
    29 
    29 
   230     * @param aStr descriptor to be extracted
   230     * @param aStr descriptor to be extracted
   231     * @param aInt integer to be fill in
   231     * @param aInt integer to be fill in
   232     * @return error status
   232     * @return error status
   233     */
   233     */
   234     static TInt StringToInteger(const TDesC8& aStr, TInt* aInt);
   234     static TInt StringToInteger(const TDesC8& aStr, TInt* aInt);
       
   235 
       
   236     
       
   237 private:
       
   238     static TBool ValidateDateLength(TInt aDateLength);
   235             
   239             
   236  private:
   240  private:
   237      enum TPlaces
   241      enum TPlaces
   238         {
   242         {
   239         EYear = 4,
   243         EYear = 4,