lowlevellibsandfws/pluginfw/Framework/EcomTestUtils/t_processfilemandeletefile.cpp
equal
deleted
inserted
replaced
21 #include <bautils.h> |
21 #include <bautils.h> |
22 |
22 |
23 |
23 |
24 void DeleteFileL(const TDesC& aFile) |
24 void DeleteFileL(const TDesC& aFile) |
25 { |
25 { |
|
26 TInt r = KErrNone; |
26 RFs fs; |
27 RFs fs; |
27 fs.Connect(); |
28 r = fs.Connect(); |
|
29 if (r != KErrNone) |
|
30 { |
|
31 User::Leave(r); |
|
32 } |
28 CleanupClosePushL(fs); |
33 CleanupClosePushL(fs); |
29 |
34 |
30 CFileMan* fileMan = CFileMan::NewL(fs); |
35 CFileMan* fileMan = CFileMan::NewL(fs); |
31 CleanupStack::PushL(fileMan); |
36 CleanupStack::PushL(fileMan); |
32 |
37 |