2
|
1 |
/*
|
|
2 |
* Copyright (c) 2007-2010 Sebastian Brannstrom, Lars Persson, EmbedDev AB
|
|
3 |
*
|
|
4 |
* All rights reserved.
|
|
5 |
* This component and the accompanying materials are made available
|
|
6 |
* under the terms of the License "Eclipse Public License v1.0"
|
|
7 |
* which accompanies this distribution, and is available
|
|
8 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
9 |
*
|
|
10 |
* Initial Contributors:
|
|
11 |
* EmbedDev AB - initial contribution.
|
|
12 |
*
|
|
13 |
* Contributors:
|
|
14 |
*
|
|
15 |
* Description:
|
|
16 |
*
|
|
17 |
*/
|
|
18 |
|
|
19 |
#ifndef __CONSTANTS_H__
|
|
20 |
#define __CONSTANTS_H__
|
|
21 |
|
|
22 |
const TUint KSizeKb = 1024;
|
|
23 |
const TUint KSizeMb = 1024000;
|
|
24 |
|
|
25 |
_LIT(KShowsSizeFormat,"%.1f");
|
|
26 |
_LIT(KShowsSizeUnit,"MB");
|
|
27 |
_LIT(KDateFormat,"%D%M%Y%/0%1%/1%2%/2%3%/3");
|
|
28 |
_LIT(KDateFormatShort,"%D%M%/0%4%/1%5");
|
|
29 |
// Date/time format string
|
|
30 |
_LIT(KTimeFormat, "%-B%:0%J%:1%T%+B");
|
|
31 |
|
|
32 |
#define KDefaultSQLDataBufferLength 2048
|
|
33 |
#define KDefaultURLBufferLength 2048
|
|
34 |
#endif
|