applicationmanagement/server/src/nsmldmuri.cpp
branchRCL_3
changeset 25 5b858729772b
parent 24 6757f1e2efd2
equal deleted inserted replaced
24:6757f1e2efd2 25:5b858729772b
   140 
   140 
   141 // ------------------------------------------------------------------------------------------------
   141 // ------------------------------------------------------------------------------------------------
   142 // TPtrC8 NSmlDmURI::URISeg(const TDesC8& aURI,TInt aLocation,TInt aSegCount=1)
   142 // TPtrC8 NSmlDmURI::URISeg(const TDesC8& aURI,TInt aLocation,TInt aSegCount=1)
   143 // Returns the aLocation:th URI segment
   143 // Returns the aLocation:th URI segment
   144 // ------------------------------------------------------------------------------------------------
   144 // ------------------------------------------------------------------------------------------------
   145 /*TPtrC8 NSmlDmURI::URISeg(const TDesC8& aURI, TInt aLocation, TInt aSegCount/*=1*///)
   145 TPtrC8 NSmlDmURI::URISeg(const TDesC8& aURI, TInt aLocation, TInt aSegCount/*=1*/)
   146     /*{
   146     {
   147     TInt i, start;
   147     TInt i, start;
   148     if (aLocation < 0)
   148     if (aLocation < 0)
   149         {
   149         {
   150         return aURI.Mid(0, 0);
   150         return aURI.Mid(0, 0);
   151         }
   151         }
   184                 }
   184                 }
   185             }
   185             }
   186         }
   186         }
   187     // i points to end of segment   
   187     // i points to end of segment   
   188     return aURI.Mid(start+1, i-start-1);
   188     return aURI.Mid(start+1, i-start-1);
   189     }*/
   189     }
   190 
   190 
   191 // ------------------------------------------------------------------------------------------------
   191 // ------------------------------------------------------------------------------------------------
   192 // TInt NSmlDmURI::NumOfURISegs(const TDesC8& aURI)
   192 // TInt NSmlDmURI::NumOfURISegs(const TDesC8& aURI)
   193 // Returns the num of uri segs
   193 // Returns the num of uri segs
   194 // ------------------------------------------------------------------------------------------------
   194 // ------------------------------------------------------------------------------------------------