mpxplugins/serviceplugins/collectionplugins/mpxsqlitepodcastdbplugin/src/mpxpodcastdbhandler.cpp
equal
deleted
inserted
replaced
1317 User::Leave(KErrArgument); |
1317 User::Leave(KErrArgument); |
1318 } |
1318 } |
1319 |
1319 |
1320 // append the drive to the drive list |
1320 // append the drive to the drive list |
1321 iDbDrives.AppendL(driveUnit); |
1321 iDbDrives.AppendL(driveUnit); |
1322 |
|
1323 // make sure the folder is created |
|
1324 TVolumeInfo info; |
|
1325 if (iFs.Volume(info, driveUnit) == KErrNone) |
|
1326 { |
|
1327 if (!BaflUtils::PathExists(iFs, folder)) |
|
1328 { |
|
1329 // create music folder if necessary |
|
1330 TInt err(iFs.MkDirAll(folder)); |
|
1331 MPX_DEBUG3("Try to create podcast folder %S return code %d", &folder, err); |
|
1332 if (err != KErrAlreadyExists) |
|
1333 { |
|
1334 User::LeaveIfError(err); |
|
1335 } |
|
1336 } |
|
1337 } |
|
1338 } |
1322 } |
1339 } |
1323 } |
1340 |
1324 |
1341 // ---------------------------------------------------------------------------- |
1325 // ---------------------------------------------------------------------------- |
1342 // CMPXPodcastDbHandler::DbCategoryL |
1326 // CMPXPodcastDbHandler::DbCategoryL |