camerauis/cameraxui/cxengine/tsrc/unit/unittest_cxeimagedataitemsymbian/cxeimagedataitemunit.cpp
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
28 CxeImageDataItemUnit::~CxeImageDataItemUnit() |
28 CxeImageDataItemUnit::~CxeImageDataItemUnit() |
29 { |
29 { |
30 CX_DEBUG_IN_FUNCTION(); |
30 CX_DEBUG_IN_FUNCTION(); |
31 } |
31 } |
32 |
32 |
33 int CxeImageDataItemUnit::checkDiskSpace(RFs* aFs, |
33 bool CxeImageDataItemUnit::checkDiskSpace(RFs* aFs, |
34 TInt aBytesToWrite, |
34 TInt aBytesToWrite, |
35 TInt aDrive) |
35 TInt aDrive) |
36 { |
36 { |
37 CX_DEBUG_ENTER_FUNCTION(); |
37 CX_DEBUG_IN_FUNCTION(); |
38 int value = CxeFakeSysUtil::DiskSpaceBelowCriticalLevel( |
38 return CxeFakeSysUtil::DiskSpaceBelowCriticalLevel(aFs, aBytesToWrite, aDrive); |
39 aFs, |
|
40 aBytesToWrite, |
|
41 aDrive ); |
|
42 |
|
43 return value; |
|
44 } |
39 } |
45 |
40 |
46 // end of file |
41 // end of file |